补充
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
reactive,
|
||||
} from 'vue';
|
||||
import { listMenu } from '@/api/system/menu';
|
||||
import { getConfig, changeValue } from '@/api/system/config';
|
||||
import { getConfig, getConfigKey,changeValue } from '@/api/system/config';
|
||||
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||
import { message } from 'ant-design-vue';
|
||||
|
||||
@@ -19,7 +19,7 @@ const currentComponent = shallowRef(
|
||||
|
||||
onMounted(() => {
|
||||
//获取当前系统设置的首页路径 111为configID
|
||||
getConfig(111).then(res => {
|
||||
getConfigKey('sys.homePage').then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS && res.data) {
|
||||
if (res.data.configValue) {
|
||||
currentComponent.value = defineAsyncComponent(
|
||||
|
||||
Reference in New Issue
Block a user