mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 11:58:25 +08:00
chore: fix type error
This commit is contained in:
parent
8440b7cabe
commit
f73de01e58
|
@ -9,7 +9,7 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue';
|
||||
import { computed, ComputedRef } from 'vue';
|
||||
import { useTabsRouterStore } from '@/store';
|
||||
|
||||
const aliveViews = computed(() => {
|
||||
|
@ -17,7 +17,7 @@ const aliveViews = computed(() => {
|
|||
const { tabRouters } = tabsRouterStore;
|
||||
|
||||
return tabRouters.filter((route) => route.isAlive).map((route) => route.name);
|
||||
});
|
||||
}) as ComputedRef<string[]>;
|
||||
|
||||
const isRefreshing = computed(() => {
|
||||
const tabsRouterStore = useTabsRouterStore();
|
||||
|
|
Loading…
Reference in New Issue
Block a user