浏览代码

Merge branch '2025北京诚祥' of https://gogs.mtavip.com/wangguoyu/uniProject into 2025北京诚祥

tanxue 2 月之前
父节点
当前提交
9b8518e5a2
共有 1 个文件被更改,包括 11 次插入1 次删除
  1. 11 1
      pages/client/jiazheng/shareImage.vue

+ 11 - 1
pages/client/jiazheng/shareImage.vue

@@ -98,7 +98,17 @@
 		},
 		onLoad(options) {
 			this.pageInfo.uuid = options.uuid;
-			this.getJianliInfo()
+			if(this.pageInfo.uuid){
+							this.getJianliInfo()
+			}else{
+				uni.showToast({
+					title: '获取内容失败',
+					icon: 'none',
+					duration: 2000
+				})
+				return false
+			}
+
 		},
 		methods: {
 			getJianliInfo() {