!108 update src/components/ImagePreview/index.vue.
Merge pull request !108 from 落叶橘橙/N/A
This commit is contained in:
commit
4660aa6e95
@ -38,6 +38,9 @@ const realSrcList = computed(() => {
|
||||
let real_src_list = props.src.split(',');
|
||||
let srcList: string[] = [];
|
||||
real_src_list.forEach((item: string) => {
|
||||
if(item.trim() === '') {
|
||||
return;
|
||||
}
|
||||
return srcList.push(item);
|
||||
});
|
||||
return srcList;
|
||||
|
Loading…
x
Reference in New Issue
Block a user