소스 검색

客户页面

wangxy 8 시간 전
부모
커밋
630feebd67
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      pages/kehu/hetong/HetongInfo.vue

+ 8 - 0
pages/kehu/hetong/HetongInfo.vue

@@ -73,6 +73,14 @@
 	}
 
 	function init() {
+		if (!tId.value) {
+			uni.showToast({
+				title: '请确认地址参数完整性'
+			})
+			return;
+		}
+		
+		
 		httpApi.getHetongPreview({
 			id: tId.value
 		}).then(res => {