浏览代码

客户页面

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