修改BUG
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<script setup>
|
||||
import { navigateTo } from '@/utils/router'
|
||||
import { ref } from 'vue'
|
||||
import { useUI } from '@/utils/use-ui'
|
||||
|
||||
const { showDialog } = useUI()
|
||||
|
||||
const btnList = [
|
||||
{ name: '等级排行榜', icon: 'grade' },
|
||||
@@ -16,6 +19,17 @@
|
||||
]
|
||||
|
||||
const onGo = item => {
|
||||
// ============测试添加好友===============
|
||||
// if (item === 'project') {
|
||||
// navigateTo('/pages/adduser/index')
|
||||
// return
|
||||
// }
|
||||
|
||||
// ===========================
|
||||
if (item === 'project') {
|
||||
showDialog('提示', '外部链接暂未提供', false)
|
||||
return
|
||||
}
|
||||
if (item === 'grade') {
|
||||
navigateTo('/pages/discover/ranking-list')
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user