1 Star 0 Fork 2

Jun. / ThorUI-uniapp

forked from kingjiejie / ThorUI-uniapp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 607 Bytes
一键复制 编辑 原始数据 按行查看 历史
echo0214 提交于 2020-07-21 01:20 . V1.5.2更新(2020-07-21)
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()
1
https://gitee.com/j_phper/ThorUI-uniapp.git
git@gitee.com:j_phper/ThorUI-uniapp.git
j_phper
ThorUI-uniapp
ThorUI-uniapp
master

搜索帮助