Parcourir la source

修改系统配置自定义

wangwei il y a 3 ans
Parent
commit
84d2640e36
1 fichiers modifiés avec 6 ajouts et 4 suppressions
  1. 6 4
      src/views/general/config/data.ts

+ 6 - 4
src/views/general/config/data.ts

@@ -218,6 +218,8 @@ export const columns: BasicColumn[] = [
             style: { width: '65%' },
             onChange: onFilesChange,
           });
+        case 'custom':
+          return h('p', {}, record.value);
       }
     },
   },
@@ -304,10 +306,10 @@ export const schemas: FormSchema[] = [
           label: '数组',
           value: 'array',
         },
-        // {
-        //   label: '自定义',
-        //   value: 'custom',
-        // },
+        {
+          label: '自定义',
+          value: 'custom',
+        },
       ],
     },
   },