Răsfoiți Sursa

fix: 修复客户环境图片上传卡死问题

yanglzh 4 luni în urmă
părinte
comite
41b309cf62
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      src/components/upload/index.vue

+ 0 - 2
src/components/upload/index.vue

@@ -114,7 +114,6 @@ watch(
 	(imgs) => {
 		if (imgs.length) {
 			fileList.value = imgs.map((url) => ({ name: url, url }))
-			updateImg()
 		} else {
 			fileList.value = []
 		}
@@ -128,7 +127,6 @@ watch(
 	(img) => {
 		if (img) {
 			fileList.value = [{ name: img, url: img }]
-			updateImg()
 		} else {
 			fileList.value = []
 		}