mirror of
https://gitcode.com/gh_mirrors/vue/vue-vben-admin
synced 2026-05-21 21:17:47 +00:00
refactor: refactored multi-language modules to support lazy loading and remote loading
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
import { propTypes } from '/@/utils/propTypes';
|
||||
import { useI18n } from '/@/hooks/web/useI18n';
|
||||
import { createAsyncComponent } from '/@/utils/factory/createAsyncComponent';
|
||||
const { t } = useI18n();
|
||||
|
||||
export default defineComponent({
|
||||
name: 'SimpleSubMenu',
|
||||
@@ -73,6 +72,7 @@
|
||||
theme: propTypes.oneOf(['dark', 'light']),
|
||||
},
|
||||
setup(props) {
|
||||
const { t } = useI18n();
|
||||
const { prefixCls } = useDesign('simple-menu');
|
||||
|
||||
const getShowMenu = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user