mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-05 04:22:49 +08:00
fix: dict error import
This commit is contained in:
parent
0e9bf396f3
commit
309d723e43
@ -2,3 +2,4 @@ export * from './icon'
|
||||
export * from './storage'
|
||||
export * from './array'
|
||||
export * from './i18n'
|
||||
export * from './dict'
|
||||
|
@ -4,7 +4,7 @@ import { NButton, NFlex, NPopconfirm } from 'naive-ui'
|
||||
import DictModal from './components/DictModal.vue'
|
||||
import { fetchDictList } from '@/service'
|
||||
import { useBoolean } from '@/hooks'
|
||||
import { useDictStore } from '@/store'
|
||||
import { getDictByNet } from '@/utils'
|
||||
import CopyText from '@/components/custom/CopyText.vue'
|
||||
|
||||
const { bool: dictLoading, setTrue: startDictLoading, setFalse: endDictLoading } = useBoolean(false)
|
||||
@ -20,8 +20,6 @@ onMounted(() => {
|
||||
const dictData = ref<Entity.Dict[]>([])
|
||||
const dictContentData = ref<Entity.Dict[]>([])
|
||||
|
||||
const { getDictByNet } = useDictStore()
|
||||
|
||||
async function getDictList() {
|
||||
startDictLoading()
|
||||
const { data, isSuccess } = await fetchDictList()
|
||||
|
Loading…
x
Reference in New Issue
Block a user