Fix(我的):[#994]帮助中心取消链接,点击提示内容

This commit is contained in:
lifizer
2024-03-22 15:34:40 +08:00
parent 1979f279f4
commit e7d7f285b8
+9 -2
View File
@@ -316,9 +316,10 @@ export default {
}, },
{ {
text: '帮助中心', text: '帮助中心',
url: '/pages/user/Message/Message', url: '',
icon: '/icon/icon-help.png', icon: '/icon/icon-help.png',
allowEnter: true allowEnter: true,
showTip: true
}, },
{ {
text: '设置中心', text: '设置中心',
@@ -468,6 +469,12 @@ export default {
}, },
toolItemClickHandle(item) { toolItemClickHandle(item) {
const url = item.url const url = item.url
if (item.showTip) {
this.$dialog.toast({
mes: '暂未开放'
})
return
}
if (!url || !item.allowEnter) { if (!url || !item.allowEnter) {
return return
} }