Commit 9155b9ff authored by tanjuanjuan's avatar tanjuanjuan

修改

parent e164f391
......@@ -3,7 +3,7 @@
<view class="box1">
<view class="box1_house"></view>
<view class="inner">
<view class="name"><span id="userName">{{stripString(xing)}}{{ch}}</span><span>,您好!</span>
<view class="name"><span id="userName">{{xing}}{{ch}}</span><span>,您好!</span>
</view>
<view class="welcome">欢迎使用贵阳公积金</view>
<view class="status"><span>账户状态:</span><span id="accountStatus">{{pInfo.hjstatus}}</span></view>
......@@ -162,9 +162,7 @@
flag4.value = !flag4.value
}
const stripString=(str)=>{
return str+"0";
}
const pInfo = computed(() => {
return personStore.person || null
})
......@@ -236,7 +234,7 @@
onMounted(() => {
xing.value = computed(() => {
return pInfo.value?.spname.slice(0, 1)
return pInfo.value?.spname.slice(0, 1).replace(/^["']|["']$/g, '')
})
ch.value = computed(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment