initialize.js 433 B

1234567891011121314151617
  1. import config from "./config.js"
  2. // import share from "@/components/headModules/share.vue"
  3. // import reverseBack from "@/components/headModules/reverse-back.vue"
  4. export default {
  5. install(Vue) {
  6. // 挂载全局对象
  7. Vue.prototype.$config = config; // 全局配置
  8. Vue.prototype.$stocksColorObj = config.stocksColorObj; // 股票颜色
  9. // Vue.component('share', share)
  10. // Vue.component('reverseBack', reverseBack)
  11. }
  12. }