From cf88306b1f6aade9f0c6c4fa5859872d3f177c4a Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Fri, 13 Sep 2024 14:56:29 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh

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