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