From db6eb3d37697cfcaa13fee6afe27e2eed6b26fcb Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Thu, 1 Feb 2024 11:17:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/users/write_off/index.vue | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/pages/users/write_off/index.vue b/pages/users/write_off/index.vue index b27bbd4..9ff1b71 100644 --- a/pages/users/write_off/index.vue +++ b/pages/users/write_off/index.vue @@ -34,7 +34,27 @@ export default { computed: { ...mapGetters(['isLogin', 'userInfo', 'viewColor']) }, - onLoad() {}, + onLoad(options) { + let _this = this; + if(options.scene){ + console.log('转换前参数:',options.scene) + let scene = _this.$util.getUrlParams(decodeURIComponent(options.scene)); + console.log("接收参数",scene) + + + + + } + // 判断:是否登录 + if (!_this.isLogin) { + // 未登录 授权登录 + _this.isAuto = true; + _this.isShowAuth = true + }else{ + // 已登录 获取信息 + _this.init(); + } + }, // 滚动到底部 onReachBottom() {}, methods: {