...
|
...
|
@@ -263,7 +263,7 @@ |
263
|
263
|
// 判断当前自定义组件表单以前的自定义图片呢url
|
264
|
264
|
currentRecord.value?.dataSource.forEach((item) => {
|
265
|
265
|
if (item.componentInfo?.customIcon) {
|
266
|
|
- item.componentInfo?.customIcon.forEach((icon: FileItem) => {
|
|
266
|
+ item.componentInfo?.customIcon?.forEach((icon: FileItem) => {
|
267
|
267
|
currentRecordIconUrl.value.push(icon.url);
|
268
|
268
|
});
|
269
|
269
|
}
|
...
|
...
|
@@ -284,7 +284,7 @@ |
284
|
284
|
oldDataSource?.forEach((item: any) => {
|
285
|
285
|
item.dataSource?.forEach((dataSource) => {
|
286
|
286
|
if (dataSource.componentInfo?.customIcon) {
|
287
|
|
- dataSource.componentInfo?.customIcon.forEach((icon: FileItem) => {
|
|
287
|
+ dataSource.componentInfo?.customIcon?.forEach((icon: FileItem) => {
|
288
|
288
|
customIconUrls.value.push(icon.url);
|
289
|
289
|
});
|
290
|
290
|
}
|
...
|
...
|
|