2 Star 0 Fork 962

广西虎鲸信息科技有限公司/HC小区物业版

forked from java110/HC小区物业版 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
java110 提交于 2024-03-09 17:28 . 优化代码
import Vue from 'vue'
import App from './App'
import conf from './conf/config.js';
import Java110Context from './lib/java110/Java110Context.js'
import context from './lib/java110/context.js'
import url from './constant/url.js'
import factory from './lib/java110/factory/factory.js'
import util from './lib/java110/utils/util.js'
import date from './lib/java110/utils/date.js'
import {getCommunityId,getCommunityName} from './api/community/community.js';
import {getStaffId,getStaffName,getStaffTel} from './api/staff/staff.js';
//引入vuex
import store from './store'
import cuCustom from './lib/colorui/components/cu-custom.vue'
import {VueJsonp} from 'vue-jsonp'
Vue.use(VueJsonp)
Vue.component('cu-custom',cuCustom)
Vue.config.productionTip = false
Vue.prototype.java110Context = Java110Context;
Vue.prototype.java110Constant = Java110Context.constant;
Vue.prototype.java110Factory = Java110Context.factory;
Vue.prototype.java110Util = Java110Context.util;
Vue.prototype.$store = store;
Vue.prototype.context = context;
Vue.prototype.url = url;
Vue.prototype.factory = factory;
Vue.prototype.util = util;
Vue.prototype.date = date;
Vue.prototype.imgUrl = conf.imgUrl;
// 绑定小区信息
Vue.prototype.getCommunityId = getCommunityId;
Vue.prototype.getCommunityName = getCommunityName;
// 绑定员工
Vue.prototype.getStaffId = getStaffId;
Vue.prototype.getStaffName = getStaffName;
Vue.prototype.getStaffTel = getStaffTel;
App.mpType = 'app'
const app = new Vue({
...App,
store
})
app.$mount()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/gx_giraffe/PropertyApp.git
git@gitee.com:gx_giraffe/PropertyApp.git
gx_giraffe
PropertyApp
HC小区物业版
master

搜索帮助