绩效考核手机版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

52 lines
1.3 KiB

import App from './App'
import { commonMethod } from '@/common/public.js'
import { echartsMethod } from '@/common/echarts.js'
import * as timetostring from '@/common/timetostring.js'
import * as echarts from 'echarts';
// import { httpApi } from '@/common/postorget.js'
Vue.prototype.$echarts = echarts
Vue.prototype.$commonMethod = commonMethod
Vue.prototype.$echartsMethod = echartsMethod
Vue.prototype.$timetostring = timetostring
// Vue.prototype.$httpApi = httpApi
import uView from "uview-ui";
Vue.use(uView);
import sUi from '@/uni_modules/s-ui';
Vue.use(sUi, {
// 是否给页面page全局混入一个onEmitPage钩子,使用this.$emitPage(pagePath,...args)触发
useEmitPageMixin: true,
// 是否替换uni默认的showLoading,hideLoading
replaceUniLoading: true,
// 是否替换uni默认的showToast,hideToast
replaceUniToast: true,
// 是否替换uni默认的showModal
replaceUniModal: true,
// 返回首页
homePath: '/pages/index/index',
});
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif