mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-05 22:25:49 +08:00
feat: 去掉无用代码
This commit is contained in:
parent
890a9d786e
commit
88d741df20
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
import { Login } from '@/api/interface/index';
|
||||
// import { PORT1 } from '@/api/config/servicePort';
|
||||
import Menu from '@/assets/json/menu.json';
|
||||
// import qs from 'qs';
|
||||
|
||||
// import http from '@/api';
|
||||
|
@ -30,5 +29,5 @@ export const loginApi = (params: Login.ReqLoginForm) => {
|
|||
export const getMenuList = () => {
|
||||
// return http.get<Menu.MenuOptions[]>(PORT1 + `/menu/list`);
|
||||
// 如果想让菜单变为本地数据,注释上一行代码,并引入本地 Menu.json 数据
|
||||
return Menu;
|
||||
return {};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue