From 5c603d543c40d497698e92b652995263f1cc46d5 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 24 Dec 2021 16:24:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=AE=8A=E4=BA=BA=E7=BE=A4log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppSpecialPeople/add.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/apps/AppSpecialPeople/add.vue b/src/apps/AppSpecialPeople/add.vue index a2912706..8b4f49a0 100644 --- a/src/apps/AppSpecialPeople/add.vue +++ b/src/apps/AppSpecialPeople/add.vue @@ -272,10 +272,12 @@ export default { this.formData[e.fieldDbName] = 0 } }) - if (e.type == 'area') { //开关 + if (e.type == 'area') { //地区 this.formData[e.fieldDbName+'_name'] = this.user.areaName } }) + + console.log(this.formData) this.$forceUpdate() this.pageShow = true } @@ -297,7 +299,7 @@ export default { if (e.type == 'onOff') { //开关 this.formData[e.fieldDbName] = 0 } - if (e.type == 'area') { //开关 + if (e.type == 'area') { //地区 this.formData[e.fieldDbName+'_name'] = this.user.areaName } }) @@ -306,6 +308,7 @@ export default { this.pageShow = true }) + console.log(this.formData) }, selectClick(name, dictName) { this.selectName = name