tangning hace 1 año
padre
commit
3570873d16
Se han modificado 2 ficheros con 11 adiciones y 12 borrados
  1. 1 1
      src/views/product/rtk/AddModal.vue
  2. 10 11
      src/views/system/menu/menu.data.ts

+ 1 - 1
src/views/product/rtk/AddModal.vue

@@ -217,7 +217,7 @@
         fileFlow.title = data.id ? '编辑RTK账号' : '新增RTK账号';
         resetFields();
         console.log('data', data);
-        handlertkType(data.rtkType || 0)
+        handlertkType(data.rtkType)
         setFieldsValue(data);
       }
       function handlertkType(val) {

+ 10 - 11
src/views/system/menu/menu.data.ts

@@ -15,8 +15,8 @@ export const columns: BasicColumn[] = [
   },
   {
     title: t('routes.system.component'),
-    dataIndex: 'path',//component
-    width: 80,
+    dataIndex: 'path', //component
+    width: 250,
   },
   {
     title: t('routes.system.menuName'),
@@ -39,11 +39,11 @@ export const columns: BasicColumn[] = [
     },
   },
   // permission
-  {
-    title: t('routes.system.perms'),
-    dataIndex: 'perms',
-    width: 250,
-  },
+  // {
+  //   title: t('routes.system.perms'),
+  //   dataIndex: 'perms',
+  //   width: 250,
+  // },
   {
     title: t('routes.system.type.title'),
     dataIndex: 'type',
@@ -110,11 +110,10 @@ const isButton = (type: number) => type === 2;
 const idShowExt = (isExt: number) => isExt === 1;
 
 export const searchFormSchema: FormSchema[] = [
-  
   {
     field: 'id',
     label: 'id',
-    show:false,
+    show: false,
     component: 'Input',
   },
   {
@@ -204,9 +203,9 @@ export const formSchema: FormSchema[] = [
     defaultValue: 1,
     component: 'InputNumber',
     componentProps: {
-      min:0
+      min: 0,
     },
-      required: true,
+    required: true,
   },
   {
     field: 'icon',