소스 검색

图片更新

wangxy 1 주 전
부모
커밋
bce8eddea8
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      pages/admin/Hetong/HetongInfo.vue

+ 4 - 2
pages/admin/Hetong/HetongInfo.vue

@@ -73,15 +73,17 @@ function getBase64(img) {
 	}
 	
 	httpApi.getHetongQianming({
-		id: info.id,
+		id: tId.value,
 		fuzeren: img.replace(/^data:image\/\w+;base64,/,'')
 	}).then(res => {
 		if (res.data) {
 			uni.showToast({
 				title: "签名成功",
 				duration: 2000,
+        mask: true,
 				success() {
-					goUpPage()
+          setTimeout(() => goUpPage(),2000)
+
 				}
 			})
 		}