更新
This commit is contained in:
@@ -99,8 +99,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, ref, h } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { computed, defineOptions, ref } from 'vue'
|
||||
import { useLayoutStore } from '@/stores/modules/layout'
|
||||
import { SettingOutlined } from '@ant-design/icons-vue'
|
||||
|
||||
@@ -113,7 +112,11 @@ import level1Menu from './components/level1Menu.vue'
|
||||
import level2Menu from './components/level2Menu.vue'
|
||||
import setting from './components/setting.vue'
|
||||
|
||||
const route = useRoute()
|
||||
// 定义组件名称(多词命名)
|
||||
defineOptions({
|
||||
name: 'AppLayouts'
|
||||
});
|
||||
|
||||
const layoutStore = useLayoutStore()
|
||||
|
||||
const settingRef = ref(null)
|
||||
|
||||
Reference in New Issue
Block a user