【issues/556】JImageUpload组件value赋初始值没显示图片

pull/474/merge v3.5.1last
zhangdaiscott 2023-06-02 09:21:38 +08:00
parent 7bab382d8d
commit 9d61822479
1 changed files with 5 additions and 2 deletions

View File

@ -124,13 +124,16 @@
watch(
() => props.value,
(val, prevCount) => {
if (val instanceof Array) {
//update-begin---author:liusq ---date:20230601 forissues/556JImageUploadvalue------------
if (val && val instanceof Array) {
val = val.join(',');
}
if (initTag.value == true) {
initFileList(val);
}
}
},
{ immediate: true }
//update-end---author:liusq ---date:20230601 forissues/556JImageUploadvalue------------
);
/**