Kaynağa Gözat

修改系统配置自定义

wangwei 3 yıl önce
ebeveyn
işleme
84d2640e36
1 değiştirilmiş dosya ile 6 ekleme ve 4 silme
  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',
+        },
       ],
     },
   },