Commit 7170793d by 李伟康

fix(financeManage): 修复二手车资金预警页面手机号显示问题

将 authPhoneDialog 组件中的 phoneText 计算属性移除,直接使用 phone 计算属性来获取用户手机号。优化了手机号为空时的处理逻辑,避免显示 undefined 或 null 值。同时修复了输入框绑定的变量名,确保数据正确显示。
1 parent db7a094f
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
:error="phoneError" :error="phoneError"
> >
<el-input <el-input
v-model="phoneText" v-model="phone"
class="input-width" class="input-width"
disabled disabled
></el-input> ></el-input>
...@@ -71,12 +71,8 @@ export default { ...@@ -71,12 +71,8 @@ export default {
this.$emit('dialogClose') this.$emit('dialogClose')
} }
}, },
phoneText () {
let phone = this.userInfo.loginAccount.phone
return `${phone || ''}(默认带入登录人手机号码)`
},
phone () { phone () {
return this.userInfo.loginAccount.phone return this.userInfo.loginAccount.phone || ''
} }
}, },
watch: { watch: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!