Pre Merge pull request !252 from 陈晨成/master-fetch-dev

This commit is contained in:
陈晨成 2025-02-24 07:56:46 +00:00 committed by Gitee
commit c0850c90d0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 5 additions and 5 deletions

View File

@ -286,8 +286,7 @@ export const JSONStringify = <T>(data: T) => {
return null
}
return val
},
2
}
)
}

View File

@ -166,7 +166,7 @@ const btnList = [
},
{
key: 'preview',
title: () => '预览',
title: () => '本地预览',
type: () => 'default',
icon: renderIcon(BrowsersOutlineIcon),
event: previewHandle

View File

@ -122,7 +122,8 @@ const selectOptions = ref([
{
label: renderLang('global.r_preview'),
key: 'preview',
icon: renderIcon(BrowsersOutlineIcon)
icon: renderIcon(BrowsersOutlineIcon),
show: props.cardData?.release
},
{
label: props.cardData?.release
@ -136,7 +137,7 @@ const selectOptions = ref([
key: 'delete',
icon: renderIcon(TrashIcon)
}
])
].filter(item => item.show !== false))
const handleSelect = (key: string) => {
switch (key) {