update 优化 eslint

This commit is contained in:
疯狂的狮子Li
2024-06-28 10:18:18 +08:00
parent 27d36f7970
commit 7637582437
20 changed files with 27 additions and 34 deletions

View File

@ -38,7 +38,7 @@ const realSrcList = computed(() => {
let real_src_list = props.src.split(',');
let srcList: string[] = [];
real_src_list.forEach((item: string) => {
if(item.trim() === '') {
if (item.trim() === '') {
return;
}
return srcList.push(item);