From f6efc465e8f5633313afc8da54c17988722073eb Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Sat, 14 Sep 2024 15:55:07 +0800
Subject: [PATCH] fix: 审核页面逻辑调整、滚动调整
---
gz-wxparty/pages/register/index.js | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/gz-wxparty/pages/register/index.js b/gz-wxparty/pages/register/index.js
index dba3d37..c74f81c 100644
--- a/gz-wxparty/pages/register/index.js
+++ b/gz-wxparty/pages/register/index.js
@@ -526,9 +526,9 @@
that.setData({
submitData: {
...that.data.submitData,
- [key]: wordsResult
+ [key]: that.data.submitData.caseDes + wordsResult
},
- [keyNum]: wordsResult.length
+ [keyNum]: (that.data.submitData.caseDes + wordsResult).length
});
}
},
@@ -810,9 +810,6 @@
onShow: function () {
if (this.data.oneData?.trueName) {
let list = this.data.oneList;
- console.log('list', list);
- console.log('this.data.editIndex', this.data.editIndex);
- console.log('this.data.oneData', this.data.oneData);
if (this.data.editIndex) {
list[this.data.editIndex] = this.data.oneData;
} else {
@@ -841,9 +838,9 @@
this.setData({
submitData: {
...this.data.submitData,
- [this.data.twoKey]: this.data.twoValue,
+ [this.data.twoKey]: this.data.submitData[this.data.twoKey] + this.data.twoValue,
},
- [this.data.twoKey + 'Num']: this.data.twoValue.length,
+ [this.data.twoKey + 'Num']: (this.data.submitData[this.data.twoKey] + this.data.twoValue).length,
twoValue: '',
twoKey: ''
})
--
Gitblit v1.8.0