mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
Pre Merge pull request !252 from 陈晨成/master-fetch-dev
This commit is contained in:
commit
c0850c90d0
@ -286,8 +286,7 @@ export const JSONStringify = <T>(data: T) => {
|
||||
return null
|
||||
}
|
||||
return val
|
||||
},
|
||||
2
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -166,7 +166,7 @@ const btnList = [
|
||||
},
|
||||
{
|
||||
key: 'preview',
|
||||
title: () => '预览',
|
||||
title: () => '本地预览',
|
||||
type: () => 'default',
|
||||
icon: renderIcon(BrowsersOutlineIcon),
|
||||
event: previewHandle
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user