From aa117c3b45b0a7770185fceb4d9efefd9642b054 Mon Sep 17 00:00:00 2001
From: dminyi <1301963064@qq.com>
Date: Fri, 13 Sep 2024 11:27:38 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master

---
 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