소스 검색

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

yanglzh 4 달 전
부모
커밋
41b309cf62
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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 = []
 		}