Commit 14674ae0 authored by tanjuanjuan's avatar tanjuanjuan

修改

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