fix: 修复 type 是字符串引起的显示错误
This commit is contained in:
@@ -34,7 +34,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
title() {
|
||||
if (!this.type) return "欢迎使用幸福人寿生态系统!"
|
||||
if (!Number(this.type)) return "欢迎使用幸福人寿生态系统!"
|
||||
return `亲爱的${this.name}${this.sex == 1 ? '女士' : '先生'}!`
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user