1 Star 0 Fork 56

zxcnmv/RuoYi-Vue-Blog-Uniapp

forked from Ning/RuoYi-Vue-Blog-Uniapp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 663 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ning 提交于 2022-06-22 18:16 . blog移动端
import Vue from 'vue'
import App from './App'
import store from '@/store/store'
import DictData from '@/common/dict/init'
import DictTag from '@/common/dict/DictTag'
import { hasRole, hasPerimission } from '@/common/auth.js'
import { toast, showConfirm } from "@/common/common.js"
import uView from 'uni_modules/uview-ui'
Vue.use(uView)
Vue.component('DictTag', DictTag)
Vue.prototype.$store = store;
Vue.prototype.toast = toast
Vue.prototype.showConfirm = showConfirm
Vue.prototype.hasRole = hasRole
Vue.prototype.hasPerimission = hasPerimission
Vue.config.productionTip = false
DictData.install()
App.mpType = 'app'
const app = new Vue({ ...App
})
app.$mount()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zxcnmv/ruo-yi-vue-blog-uniapp.git
[email protected]:zxcnmv/ruo-yi-vue-blog-uniapp.git
zxcnmv
ruo-yi-vue-blog-uniapp
RuoYi-Vue-Blog-Uniapp
master

搜索帮助