Explorar o código

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

yanglzh hai 4 meses
pai
achega
41b309cf62
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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 = []
 		}