src/templates/sharecomponent/searchcomponent/searchform/index.jsx
@@ -198,7 +198,7 @@ if (this.record.resourceType === '0') { // 自定义资源 shows.push('options', 'fields') } else if (this.record.resourceType === '1') { // 数据源 shows.push('dataSource', 'cardValField', 'fields', 'orderBy', 'orderType', 'database') shows.push('dataSource', 'cardValField', 'colorField', 'fields', 'orderBy', 'orderType', 'database') } } else { reRequired.fields = true