Fix(我的):[#994]帮助中心取消链接,点击提示内容
This commit is contained in:
@@ -316,9 +316,10 @@ export default {
|
||||
},
|
||||
{
|
||||
text: '帮助中心',
|
||||
url: '/pages/user/Message/Message',
|
||||
url: '',
|
||||
icon: '/icon/icon-help.png',
|
||||
allowEnter: true
|
||||
allowEnter: true,
|
||||
showTip: true
|
||||
},
|
||||
{
|
||||
text: '设置中心',
|
||||
@@ -468,6 +469,12 @@ export default {
|
||||
},
|
||||
toolItemClickHandle(item) {
|
||||
const url = item.url
|
||||
if (item.showTip) {
|
||||
this.$dialog.toast({
|
||||
mes: '暂未开放'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (!url || !item.allowEnter) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user