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 => {