mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 08:12:49 +08:00
fix: 左侧使用异步加载
This commit is contained in:
parent
0c2da460a3
commit
4a76e419be
@ -20,9 +20,13 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, watch, reactive, computed } from 'vue'
|
import { ref, watch, reactive, computed } from 'vue'
|
||||||
import { ItemBox } from '../ItemBox/index'
|
|
||||||
import { ConfigType } from '@/packages/index.d'
|
import { ConfigType } from '@/packages/index.d'
|
||||||
import { useSettingStore } from '@/store/modules/settingStore/settingStore'
|
import { useSettingStore } from '@/store/modules/settingStore/settingStore'
|
||||||
|
import { loadAsyncComponent } from '@/utils'
|
||||||
|
|
||||||
|
const ItemBox = loadAsyncComponent(() =>
|
||||||
|
import('../ItemBox/index.vue')
|
||||||
|
)
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
selectOptions: {
|
selectOptions: {
|
||||||
|
Loading…
Reference in New Issue
Block a user