wangxy 8 ore fa
parent
commit
630feebd67
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  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 => {