删除多余代码

This commit is contained in:
sexygoat
2026-04-08 19:31:22 +08:00
parent b510b4539f
commit d1c6588d8f
110 changed files with 897 additions and 24613 deletions

View File

@@ -88,13 +88,6 @@
iconColor: '#ff3b30',
path: RoutesAlias.Analysis
},
{
name: '礼花效果',
description: '动画特效展示',
icon: '',
iconColor: '#7A7FFF',
path: RoutesAlias.Fireworks
},
{
name: '聊天',
description: '即时通讯功能',
@@ -116,13 +109,6 @@
iconColor: '#ff6b6b',
path: WEB_LINKS.COMMUNITY
},
{
name: '更新日志',
description: '版本更新与变更记录',
icon: '',
iconColor: '#38C0FC',
path: RoutesAlias.ChangeLog
},
{
name: '哔哩哔哩',
description: '技术分享与交流',
@@ -134,11 +120,7 @@
const quickLinks: QuickLink[] = [
{ name: '登录', path: RoutesAlias.Login },
{ name: '注册', path: RoutesAlias.Register },
{ name: '忘记密码', path: RoutesAlias.ForgetPassword },
{ name: '定价', path: RoutesAlias.Pricing },
{ name: '个人中心', path: RoutesAlias.UserCenter },
{ name: '留言管理', path: RoutesAlias.Comment }
{ name: '个人中心', path: RoutesAlias.UserCenter }
]
const handleAppClick = (path: string) => {

View File

@@ -362,6 +362,15 @@
const actionList = props.actions(row)
// 如果没有操作按钮,显示提示
if (actionList.length === 0) {
return h(
'span',
{ style: 'color: var(--el-text-color-placeholder); font-size: 12px;' },
'暂无可用操作'
)
}
// 如果操作数量 <= 2直接显示所有按钮
if (actionList.length <= 2) {
return h(