first commit
This commit is contained in:
27
App.vue
Normal file
27
App.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<script>
|
||||
import store from '@/store/index.js';
|
||||
export default {
|
||||
onLaunch: function (options) {
|
||||
let token = uni.getStorageSync('token');
|
||||
// if (token) {
|
||||
// store.commit('setToken', token);
|
||||
// } else {
|
||||
// uni.reLaunch({
|
||||
// url: '/pages/login/login'
|
||||
// });
|
||||
// }
|
||||
},
|
||||
onShow: function (e) {},
|
||||
onHide: function () {}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
/*每个页面公共css */
|
||||
@import '@/uni_modules/uview-plus/index.scss';
|
||||
@import '@/common/index.scss';
|
||||
|
||||
input {
|
||||
background: rgba(0, 0, 0, 0);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user