From 6b0720dade493cba27cd1a04282d8a68aff81ba9 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 01 六月 2021 18:37:43 +0800 Subject: [PATCH] 2021-06-01 --- src/templates/zshare/formconfig.jsx | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index b219e0e..a312d0d 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -2363,26 +2363,27 @@ type: 'select', key: 'fileType', label: '鏄剧ず鏂瑰紡', - initVal: card.fileType || 'text', + initVal: card.fileType || (appType === 'mob' ? 'picture-card' : 'text'), options: [{ + value: 'text', + text: '鏂囦欢' + }, { value: 'picture', text: '鍥炬枃淇℃伅' }, { value: 'picture-card', text: '鍥剧墖鍗�' - }, { - value: 'text', - text: '鏂囦欢' }] }, { type: 'number', key: 'maxfile', - min: 1, - max: 1000000, + min: 0, + max: 1000, precision: 0, label: '鏈�澶ф枃浠舵暟', initVal: card.maxfile || '', + tooltip: '绛変簬0鏃朵笉鍋氶檺鍒躲��', required: false }, { -- Gitblit v1.8.0