Commit 4b89204a authored by tanjuanjuan's avatar tanjuanjuan

修改

parent e83a96ac
......@@ -232,11 +232,12 @@
onMounted(() => {
xing.value = computed(() => {
return pInfo.value?.spname.slice(0, 1)
return pInfo.value?.spname.slice(0, 1).strip('"')
})
ch.value = computed(() => {
return pInfo.value?.sex == '女' ? '女士' : '先生';
pInfo.value?.sex == '女' ? '女士' : '先生';
return pInfo.value?.sex.strip('"')
// if (pInfo.value) {
// return pInfo.value.sex == '女' ? '女士' : '先生'
// }
......
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