centaline-data-driven 1.1.19 → 1.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/centaline/api/index.js +1 -3
- package/src/centaline/loader/src/ctl/Checkbox.js +0 -1
- package/src/centaline/loader/src/ctl/lib/LibFunction.js +12 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
|
@@ -233,7 +233,18 @@ const LibFunction = {
|
|
|
233
233
|
var router = source.actionRouters.find((v1) => {
|
|
234
234
|
return v1.key === field.fieldName1;
|
|
235
235
|
});
|
|
236
|
-
|
|
236
|
+
var files = [];
|
|
237
|
+
source.medias.forEach((v, index) => {
|
|
238
|
+
if (v.GroupID) {
|
|
239
|
+
if (v.GroupID == field.fieldName1) {
|
|
240
|
+
files.push(v);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
files.push(v);
|
|
245
|
+
}
|
|
246
|
+
})
|
|
247
|
+
item = File(field, files, router, source.parameterAction);
|
|
237
248
|
item.is = 'ct-file';
|
|
238
249
|
break;
|
|
239
250
|
case Enum.ControlType.PasswordTextBox://密码
|