src/App.vue
@@ -14,7 +14,10 @@ // url: '/pages/index/index' // }); // } this.$store.dispatch('getUserInfo') let token = this.$db.get('userToken') if (token) { this.$store.dispatch('getUserInfo') } console.log('App Launch') }, @@ -30,6 +33,14 @@ </script> <style lang="scss"> // page{ // height: 100vh // } // .page { // display: flex; // flex-direction: column; // overflow-x: hidden; // } /*每个页面公共css */ // @import "uview-plus/index.scss"; @import "@/uni_modules/uview-plus/index.scss";