From 73341eba8e313c2aead0476026bc362b8c4be4b1 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期四, 12 九月 2024 16:05:06 +0800 Subject: [PATCH] update 优化 --- App.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/App.vue b/App.vue index f240031..d1f355d 100644 --- a/App.vue +++ b/App.vue @@ -5,7 +5,10 @@ import storage from '@/plugins/storage.js' export default { - onLaunch: async function(options) { + onLaunch: async function(options) { + //清除一些缓存 + this.$storage.removeItem('cache_home_show_coupon') + var query = options.q && decodeURIComponent(options.q) || '' var querydto = {} if (query) { @@ -97,7 +100,7 @@ } // #endif - + }, onReady() { -- Gitblit v1.9.3