当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 7.3K

fan/微同商城
暂停

forked from 微同软件/微同商城 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.js 547 Bytes
一键复制 编辑 原始数据 按行查看 历史
lipengjun 提交于 5年前 . 更新uniapp版本
import Vue from 'vue'
import App from './App'
import store from './store'
Vue.config.productionTip = false
// #ifdef H5
window.QQmap = null;
// #endif
// #ifndef MP-TOUTIAO
//网络监听
setTimeout(() => {
uni.onNetworkStatusChange(function(res) {
// console.log(res.networkType);
store.commit("networkChange", {
isConnected: res.isConnected
})
});
}, 100)
// #endif
Vue.prototype.$eventHub = Vue.prototype.$eventHub || new Vue()
Vue.prototype.$store = store
App.mpType = 'app'
const app = new Vue({
store,
...App
})
app.$mount()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fan0/platform.git
git@gitee.com:fan0/platform.git
fan0
platform
微同商城
master

搜索帮助