性别显示处理: 默认男性问题处理 --提交人:阳华祥

This commit is contained in:
yang.huaxiang
2020-12-24 16:57:04 +08:00
parent 80bbdb7097
commit 27af6cd286

View File

@@ -5,7 +5,7 @@
<van-cell-group class="pl15 mt10">
<van-cell title="业务员工号" :value="userInfo.encryptionJobNo" />
<van-cell title="业务员姓名" :value="userInfo.encryptionName" />
<van-cell title="性别" :value="userInfo.sex === '1' ? '女' : '男'" />
<van-cell title="性别" :value="userInfo.sex === '1' ? '女' : (userInfo.sex === '0'?'男':'')" />
<van-cell title="证件类型" :value="userInfo.cardType" />
<van-cell title="证件号码" :value="userInfo.cardNoStart" />
<van-cell title="营销服务部" :value="userInfo.saleArea" />