|
|
@@ -41,11 +41,11 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
|
|
|
const { dataList, run } = useRequest(getAllMenus)
|
|
|
|
|
|
const columns = shallowRef([
|
|
|
- { field: 'title', label: 'system.menu.title', align: 'left' },
|
|
|
- { field: 'resourceCode', label: 'system.menu.resourceCode', },
|
|
|
- { field: 'url', label: 'system.menu.url', },
|
|
|
- { field: 'icon', label: 'system.menu.icon', },
|
|
|
- { field: 'operate', label: 'common.operate', fixed: 'right' }
|
|
|
+ { field: 'title', label: '菜单', align: 'left' },
|
|
|
+ { field: 'resourceCode', label: '代码', },
|
|
|
+ { field: 'url', label: '路径', },
|
|
|
+ { field: 'icon', label: '图标', },
|
|
|
+ { field: 'operate', label: '操作', fixed: 'right' }
|
|
|
])
|
|
|
|
|
|
const showComponent = (componentName: string, row?: Model.MenusRsp) => {
|