6 Star 46 Fork 15

吃酸菜的鱼/hxshop-uni-app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.js 663 Bytes
一键复制 编辑 原始数据 按行查看 历史
吃酸菜的鱼 提交于 2020-04-15 20:32 +08:00 . 莫思
import Vue from 'vue'
import App from './App'
import store from './store/index';
Vue.prototype.$store = store;
//配置
import config from './config.js'
Vue.prototype.$conf = config
Vue.prototype.$msg = (title, duration=1500, mask=false, icon='none')=>{
//统一提示方便全局修改
if(Boolean(title) === false){
return;
}
uni.showToast({
title,
duration,
mask,
icon
});
}
import api from './common/vmeitime-http/index.js'
Vue.prototype.$api = api
import appupgrade from './common/appupgrade.js'
Vue.prototype.$appUpgrade = appupgrade
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/code_yu/hxshop-uni-app.git
git@gitee.com:code_yu/hxshop-uni-app.git
code_yu
hxshop-uni-app
hxshop-uni-app
master

搜索帮助