Fix #675: 解决因vue前端代码有误导致镜像构建失败的问题

This commit is contained in:
hzhaoy 2023-06-20 15:54:11 +08:00
parent 017b34647e
commit 1a0eadccb2
1 changed files with 1 additions and 2 deletions

View File

@ -555,7 +555,7 @@ const options = computed(() => {
return common return common
}) })
function handleSelect(key: 'copyText' | 'delete' | 'toggleRenderType') { function handleSelect(key: string) {
if (key == '清除会话') { if (key == '清除会话') {
handleClear() handleClear()
} }
@ -658,7 +658,6 @@ function searchfun() {
<NDropdown <NDropdown
v-if="isMobile" v-if="isMobile"
:trigger="isMobile ? 'click' : 'hover'" :trigger="isMobile ? 'click' : 'hover'"
:placement="!inversion ? 'right' : 'left'"
:options="options" :options="options"
@select="handleSelect" @select="handleSelect"
> >