修改缩进

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>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style>
/*每个页面公共css */
/*每个页面公共css */
</style>

View File

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

View File

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