Commit bb92fda9 by tangqy

增加vue-rx

parent f0d9ae78
...@@ -19,11 +19,13 @@ ...@@ -19,11 +19,13 @@
"element-ui": "^2.4.9", "element-ui": "^2.4.9",
"jquery": "^3.3.1", "jquery": "^3.3.1",
"moment": "^2.22.2", "moment": "^2.22.2",
"rxjs": "^6.3.3",
"underscore": "^1.9.1", "underscore": "^1.9.1",
"v-charts": "^1.19.0", "v-charts": "^1.19.0",
"velocity-animate": "^1.5.0", "velocity-animate": "^1.5.0",
"vue": "^2.5.2", "vue": "^2.5.2",
"vue-router": "^3.0.1", "vue-router": "^3.0.1",
"vue-rx": "^6.0.1",
"vuex": "^3.0.1" "vuex": "^3.0.1"
}, },
"devDependencies": { "devDependencies": {
......
...@@ -18,6 +18,10 @@ import * as filters from './filters' ...@@ -18,6 +18,10 @@ import * as filters from './filters'
import VCharts from 'v-charts' import VCharts from 'v-charts'
import plugins from './plugin' import plugins from './plugin'
import VueRx from 'vue-rx'
Vue.use(VueRx)
Vue.use(ElementUI) Vue.use(ElementUI)
Vue.use(VCharts) Vue.use(VCharts)
...@@ -51,10 +55,6 @@ Vue.config.productionTip = false ...@@ -51,10 +55,6 @@ Vue.config.productionTip = false
Vue.prototype.axios = Axios Vue.prototype.axios = Axios
// Vue.prototype.$echarts = echarts // Vue.prototype.$echarts = echarts
Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key])
})
/* eslint-disable no-new */ /* eslint-disable no-new */
new Vue({ new Vue({
el: '#app', el: '#app',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment