1 Star 3 Fork 6

Mavin / mall-thorui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.js 607 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mavin 提交于 2020-05-18 23:41 . init
import Vue from 'vue'
import App from './App'
import store from './store'
import tui from './common/httpRequest'
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.tui = tui
Vue.prototype.$eventHub = Vue.prototype.$eventHub || new Vue()
Vue.prototype.$store = store
App.mpType = 'app'
const app = new Vue({
store,
...App
})
app.$mount()
NodeJS
1
https://gitee.com/manmandie/mall-thorui.git
git@gitee.com:manmandie/mall-thorui.git
manmandie
mall-thorui
mall-thorui
master

搜索帮助