src/main.js
@@ -41,8 +41,6 @@ import echarts from "echarts"; Vue.prototype.$echarts = echarts; Vue.prototype.$USD = allocation.$USD; Vue.prototype.$USDT = allocation.$USDT; Vue.prototype.$moment = moment; // import VueTouch from 'vue-touch' Vue.use(Swipe); @@ -74,7 +72,6 @@ Vue.filter(key, filters[key]); }); Object.keys(allocation).forEach(key => { console.log(allocation, "===="); Vue.prototype[key] = allocation[key]; }); Vue.prototype.$state = state;