浏览代码

no message

USER-20230908AJ\Administrator 6 月之前
父节点
当前提交
23a0f4c3a0
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      App.vue

+ 4 - 0
App.vue

@@ -46,8 +46,12 @@ export default {
   },
   onShow: function () {
     console.log("App Show");
+    uni.reLaunch({
+      url: '/pages/login/index'
+    })
   },
   onHide: function () {
+    uni.clearStorageSync()
     console.log("App Hide");
   },
   methods:{