From ed9c9f07d1f9a5ed027e06feb8f0f5ed2d1756bc Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 07 六月 2024 10:39:25 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit
---
h5/App.vue | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/h5/App.vue b/h5/App.vue
index 28cf67f..7306882 100644
--- a/h5/App.vue
+++ b/h5/App.vue
@@ -1,5 +1,5 @@
<script>
-import { wxAuthorize } from '@/api'
+import { wxAuthorize, refreshToken } from '@/api'
export default {
onLaunch: function () {
var that = this
@@ -27,6 +27,15 @@
})
}
}
+ // 鍒锋柊token
+ const token = uni.getStorageSync('token')
+ if(token){
+ // refreshToken().then(res => {
+ // if(res.code && res.code === 200){
+ // this.$store.commit('setToken', res.data)
+ // }
+ // })
+ }
},
onShow: function () {
console.log('App Show')
--
Gitblit v1.9.3