You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
786 B
JavaScript
26 lines
786 B
JavaScript
import Vue from 'vue'
|
|
import App from './App'
|
|
import api from './model/index.js'
|
|
import tabBar from "./pages/tab/tab"
|
|
import formatTime from './utils/filters.js'
|
|
import getNextMonth from './utils/getNextMonth.js'
|
|
import getUpMonth from './utils/getUpMonth.js'
|
|
import eCharts from '@/components/echarts/echarts.vue';
|
|
import uCharts from '@/components/u-charts/u-charts.js'; //引入uCharts
|
|
//挂载全局
|
|
import uView from "uview-ui";
|
|
Vue.use(uView);
|
|
Vue.prototype.$uCharts = uCharts
|
|
Vue.prototype.getNextMonth=getNextMonth
|
|
Vue.prototype.getUpMonth=getUpMonth
|
|
Vue.prototype.formatTime=formatTime
|
|
Vue.component('tabBar', tabBar)
|
|
Vue.component('eCharts', eCharts)
|
|
Vue.prototype.$api = api
|
|
Vue.config.productionTip = false
|
|
App.mpType = 'app'
|
|
const app = new Vue({
|
|
...App
|
|
})
|
|
app.$mount()
|