修改缩进

This commit is contained in:
TOP糯米 2022-10-26 16:43:06 +08:00
parent 015f1fc755
commit 313034a3c5
3 changed files with 22 additions and 22 deletions

View File

@ -1,17 +1,17 @@
<script> <script>
export default { export default {
onLaunch: function() { onLaunch: function() {
console.log('App Launch') console.log('App Launch')
}, },
onShow: function() { onShow: function() {
console.log('App Show') console.log('App Show')
}, },
onHide: function() { onHide: function() {
console.log('App Hide') console.log('App Hide')
} }
} }
</script> </script>
<style> <style>
/*每个页面公共css */ /*每个页面公共css */
</style> </style>

View File

@ -8,18 +8,18 @@ import config from './common/config'
import apis from './common/apis' import apis from './common/apis'
Vue.use({ Vue.use({
install(Vue, options) { install(Vue, options) {
Vue.prototype.$utils = utils Vue.prototype.$utils = utils
Vue.prototype.$config = config Vue.prototype.$config = config
Vue.prototype.$apis = apis Vue.prototype.$apis = apis
} }
}) })
Vue.config.productionTip = false Vue.config.productionTip = false
App.mpType = 'app' App.mpType = 'app'
const app = new Vue({ const app = new Vue({
store, store,
...App ...App
}) })
app.$mount() app.$mount()

View File

@ -6,8 +6,8 @@ import user from "@/store/modules/user"
Vue.use(Vuex) Vue.use(Vuex)
export default new Vuex.Store({ export default new Vuex.Store({
modules: { modules: {
moduleA, moduleA,
user, user,
} }
}) })