Refactor API requests and update component imports
This commit is contained in:
@ -33,8 +33,8 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted } from 'vue'
|
||||
import type { ComponentPublicInstance } from 'vue'
|
||||
import { tab2 } from '@/api/home/index'
|
||||
import { ProjectDictNodeVO } from '@/api/home/type'
|
||||
import { tab2 } from '~/api/home/index'
|
||||
import type { ProjectDictNodeVO } from '~/api/home/type'
|
||||
|
||||
const activeIndex = ref(-1)
|
||||
const submenuTop = ref(0)
|
||||
@ -67,7 +67,7 @@
|
||||
level.unshift(normal)
|
||||
}
|
||||
|
||||
window.open(`/drawe?level=${JSON.stringify(level)}`, '_blank')
|
||||
navigateTo(`/drawe?level=${JSON.stringify(level)}`)
|
||||
}
|
||||
|
||||
const keepSubmenuVisible = () => {
|
||||
|
||||
Reference in New Issue
Block a user