File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ type Result = {
88export const getAsyncRoutes = ( ) => {
99 return http . request < Result > ( "get" , "/get-async-routes" ) ;
1010} ;
11+
12+ // export const getAsyncRoutes = () => {
13+ // return http.request<Result>("get", "api/menus/getAsyncRoutes/");
14+ // };
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import AddFill from "~icons/ri/add-circle-line";
1515
1616defineOptions ({
1717 // eslint-disable-next-line vue/no-reserved-component-names
18- name: " Menu "
18+ name: " SystemMenu "
1919});
2020
2121const tableRef = ref ();
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export function useMenu() {
4444 {
4545 label : "ID" ,
4646 prop : "id" ,
47- width : 50 ,
47+ // width: 50,
4848 fixed : true
4949 } ,
5050 {
@@ -94,7 +94,7 @@ export function useMenu() {
9494 cellRenderer : ( { row, props } ) => (
9595 < el-tag
9696 size = { props . size }
97- type = { row . type === menuTypes . menu . value ? "" : "success" }
97+ type = { row . type === menuTypes . menu . value ? "primary " : "success" }
9898 disable-transitions
9999 >
100100 { row . type === menuTypes . menu . value
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import Refresh from "~icons/ep/refresh";
1111import AddFill from " ~icons/ri/add-circle-line" ;
1212
1313defineOptions ({
14- name: " SystemMenu "
14+ name: " SystemMenuRaw "
1515});
1616
1717const formRef = ref ();
You can’t perform that action at this time.
0 commit comments