hookehuyr

fix 扫描小程序码进入详情问题修复

1 <!-- 1 <!--
2 * @Date: 2022-09-26 14:36:57 2 * @Date: 2022-09-26 14:36:57
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-11-17 11:00:45 4 + * @LastEditTime: 2022-11-17 11:22:45
5 * @FilePath: /swx/src/pages/activityDetail/index.vue 5 * @FilePath: /swx/src/pages/activityDetail/index.vue
6 * @Description: 活动详情页 6 * @Description: 活动详情页
7 --> 7 -->
...@@ -570,6 +570,7 @@ export default { ...@@ -570,6 +570,7 @@ export default {
570 if (options.scene) { 570 if (options.scene) {
571 let qr_id = (decodeURIComponent(options.scene)).slice(2); 571 let qr_id = (decodeURIComponent(options.scene)).slice(2);
572 this.qr_id = qr_id; 572 this.qr_id = qr_id;
573 + Taro.setStorageSync('activity_id', qr_id);
573 } 574 }
574 }, 575 },
575 mounted() { 576 mounted() {
......