From 6613c11627b5e0be1629f3784acf0245a8040ea1 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Fri, 13 Sep 2024 09:35:46 +0800 Subject: [PATCH] 提交 --- gz-wxparty/pages/register/index.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gz-wxparty/pages/register/index.js b/gz-wxparty/pages/register/index.js index 51f7e56..dba3d37 100644 --- a/gz-wxparty/pages/register/index.js +++ b/gz-wxparty/pages/register/index.js @@ -825,12 +825,12 @@ }) } - if (this.data.twoData?.title) { + if (this.data.twoData?.label) { this.setData({ submitData: { ...this.data.submitData, caseType: this.data.twoData.value, - caseTypeName: this.data.twoData.title, + caseTypeName: this.data.twoData.label, }, twoData: {} }) @@ -841,8 +841,9 @@ this.setData({ submitData: { ...this.data.submitData, - [this.data.twoKey]: this.data.twoValue + [this.data.twoKey]: this.data.twoValue, }, + [this.data.twoKey + 'Num']: this.data.twoValue.length, twoValue: '', twoKey: '' }) -- Gitblit v1.8.0