fix: 打包类型验证

This commit is contained in:
TsMask
2023-10-10 09:54:37 +08:00
parent 5002ba3297
commit 1472991c83
3 changed files with 6 additions and 6 deletions

View File

@@ -107,8 +107,8 @@ watch(router.currentRoute, v => tabsStore.tabOpen(v), { immediate: true });
:tab-bar-gutter="8" :tab-bar-gutter="8"
:tab-bar-style="{ margin: '0', height: '28px', lineHeight: '28px' }" :tab-bar-style="{ margin: '0', height: '28px', lineHeight: '28px' }"
v-model:activeKey="tabsStore.activePath" v-model:activeKey="tabsStore.activePath"
@tab-click="path => fnTabClick(path as string)" @tab-click="(path:any) => fnTabClick(path as string)"
@edit="path => fnTabClose(path as string)" @edit="(path:any) => fnTabClose(path as string)"
> >
<a-tab-pane <a-tab-pane
v-for="tab in tabsStore.getTabs" v-for="tab in tabsStore.getTabs"
@@ -143,7 +143,7 @@ watch(router.currentRoute, v => tabsStore.tabOpen(v), { immediate: true });
<template #icon><DownOutlined /></template> <template #icon><DownOutlined /></template>
</a-button> </a-button>
<template #overlay> <template #overlay>
<a-menu @click="({ key }) => fnTabMenu(key)"> <a-menu @click="({ key }:any) => fnTabMenu(key)">
<a-menu-item key="current">关闭当前</a-menu-item> <a-menu-item key="current">关闭当前</a-menu-item>
<a-menu-item key="other">关闭其他 </a-menu-item> <a-menu-item key="other">关闭其他 </a-menu-item>
<a-menu-item key="all">关闭全部</a-menu-item> <a-menu-item key="all">关闭全部</a-menu-item>

View File

@@ -726,7 +726,7 @@ onMounted(() => {
</a-button> </a-button>
<template #overlay> <template #overlay>
<a-menu <a-menu
@click="({ key }) => fnFileModalVisible(key, record)" @click="({ key }:any) => fnFileModalVisible(key, record)"
> >
<a-menu-item key="send"> <a-menu-item key="send">
<SendOutlined /> <SendOutlined />

View File

@@ -337,7 +337,7 @@ onMounted(() => {
:value="selectedKeys[0]" :value="selectedKeys[0]"
style="width: 188px; margin-bottom: 8px; display: block" style="width: 188px; margin-bottom: 8px; display: block"
@change=" @change="
e => setSelectedKeys(e.target.value ? [e.target.value] : []) (e:any) => setSelectedKeys(e.target.value ? [e.target.value] : [])
" "
@pressEnter="confirm()" @pressEnter="confirm()"
/> />
@@ -418,7 +418,7 @@ onMounted(() => {
:value="selectedKeys[0]" :value="selectedKeys[0]"
style="width: 188px; margin-bottom: 8px; display: block" style="width: 188px; margin-bottom: 8px; display: block"
@change=" @change="
e => setSelectedKeys(e.target.value ? [e.target.value] : []) (e:any) => setSelectedKeys(e.target.value ? [e.target.value] : [])
" "
@pressEnter="confirm()" @pressEnter="confirm()"
/> />