3 Star 0 Fork 759

雷赛IT/ls-itr-uniapp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.js 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
Peng 提交于 2025-01-15 13:55 +08:00 . 添加页面
import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import $mSettingConfig from '@/api/setting.config';
// 全局组件
import oaLoading from '@/components/oa-loading/oa-loading.vue';
import oaLoadMore from '@/components/oa-load-more/oa-load-more.vue';
import oaLoadImage from '@/components/oa-image/oa-image.vue';
import cmdNavBar from "@/components/cmd-nav-bar/cmd-nav-bar.vue"
// import $Modal from '@/plugins/modal';
// import $Tab from '@/plugins/tab';
Vue.use(plugins)
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$mSettingConfig = $mSettingConfig;
// Vue.prototype.$Modal = $Modal;
// Vue.prototype.$Tab = $Tab;
App.mpType = 'app'
Vue.mixin({
computed: {
themeColor: {
get () {
return store.getters.themeColor;
},
set (val) {
store.state.themeColor = val;
}
}
}
});
Vue.component('oa-loading', oaLoading);
Vue.component('oa-load-more', oaLoadMore);
Vue.component('oa-image', oaLoadImage);
Vue.component('cmd-nav-bar', cmdNavBar);
const app = new Vue({
...App
})
app.$mount()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/bluestone_2/ls-itr-uniapp.git
[email protected]:bluestone_2/ls-itr-uniapp.git
bluestone_2
ls-itr-uniapp
ls-itr-uniapp
master

搜索帮助