Skip to content

Commit 7da802d

Browse files
committed
feat: update
1 parent ce611fc commit 7da802d

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/api/routes.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ type Result = {
88
export 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+
// };

src/views/system/menu/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import AddFill from "~icons/ri/add-circle-line";
1515
1616
defineOptions({
1717
// eslint-disable-next-line vue/no-reserved-component-names
18-
name: "Menu"
18+
name: "SystemMenu"
1919
});
2020
2121
const tableRef = ref();

src/views/system/menu/utils/hook.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

src/views/system/menuRaw/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Refresh from "~icons/ep/refresh";
1111
import AddFill from "~icons/ri/add-circle-line";
1212
1313
defineOptions({
14-
name: "SystemMenu"
14+
name: "SystemMenuRaw"
1515
});
1616
1717
const formRef = ref();

0 commit comments

Comments
 (0)