$set赋值

This commit is contained in:
mengxiaolong
2020-10-21 11:31:32 +08:00
parent 87e1fb2063
commit df1c338f4d

View File

@@ -529,7 +529,7 @@ export default {
//获取银行名称
this.userInfo.bankName = bank.bankName ? bank.bankName.trim() : ''
this.code = bank.code ? bank.code.trim() : ''
this.userInfo.mainCode = bank.code ? bank.code.trim() : ''
this.$set(this.userInfo, 'mainCode', bank.code ? bank.code.trim() : '')
},
//获取推荐人信息
agentAll() {