From 621a3268a8c2cebf899e3ba824c49a1513cb619b Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Fri, 13 Sep 2024 18:32:35 +0800 Subject: [PATCH] feat: 图片 --- 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