在new vue()的时候不能加入store,否则在App.vue文件中onLaunch(){}失效
正确的使用姿势:
import store from '@/store'
Vue.prototype.$store = store