|
@@ -62,7 +62,6 @@
|
|
|
<script lang="ts">
|
|
|
import { reactive, toRefs, defineComponent, ref, unref } from 'vue';
|
|
|
import api from '/@/api/system';
|
|
|
-import { getMenuList } from '/@/api/system/menu';
|
|
|
import { ElMessage } from 'element-plus';
|
|
|
import { getBackEndControlRoutes } from '/@/router/backEnd';
|
|
|
|
|
@@ -198,7 +197,7 @@ export default defineComponent({
|
|
|
};
|
|
|
// 获取菜单结构数据
|
|
|
const getMenuData = () => {
|
|
|
- getMenuList({ status: -1 }).then((res: any) => {
|
|
|
+ api.menu.getList({ status: -1 }).then((res: any) => {
|
|
|
state.menuData = res;
|
|
|
});
|
|
|
};
|