Parcourir la source

2023-12-29 礼品兑换跳转详情页面修改携带参数方式

zhiquz il y a 1 an
Parent
commit
a947a30daa
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pages/zbs-detail/detail.vue

+ 1 - 1
pages/zbs-detail/detail.vue

@@ -63,7 +63,7 @@ export default {
 			return this.$store.state.userinfo;
 		}
 	},
-	onLoad() {
+	onLoad(option) {
 		this.item = JSON.parse(decodeURIComponent(option.item))
 	},
 	onShow() {