Commit f42c29de by Jaxon

fix: 修复编译报错

1 parent 3ab9d586
import VConsole from "vconsole"; import VConsole from "vconsole";
/*
* @Descripttion:
* @version:
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @LastEditors: limin
* @LastEditTime: 2021-06-29 15:35:47
*/
// 兼容 IE // 兼容 IE
// https://github.com/zloirock/core-js/blob/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md#babelpolyfill // https://github.com/zloirock/core-js/blob/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md#babelpolyfill
// import 'core-js/stable' // import 'core-js/stable'
...@@ -14,7 +6,7 @@ import VConsole from "vconsole"; ...@@ -14,7 +6,7 @@ import VConsole from "vconsole";
import Vue from "vue"; import Vue from "vue";
import { cfg, fetchConfig } from "@/config"; import { cfg, fetchConfig } from "@/config";
import { vant } from "@/config/vant.config.js"; import { vant } from "@/config/vant.config.js";
import api from "./api"; import { ssoApi } from "./api/index.js";
import App from "./App.vue"; import App from "./App.vue";
import router from "./router"; import router from "./router";
import store from "./store"; import store from "./store";
...@@ -24,7 +16,7 @@ import "./utils/util"; ...@@ -24,7 +16,7 @@ import "./utils/util";
import "components"; import "components";
// import mixin from './mixins/index' // import mixin from './mixins/index'
vant(Vue); vant(Vue);
Vue.prototype.api = api; Vue.prototype.api = ssoApi;
Vue.prototype.bus = bus; Vue.prototype.bus = bus;
Vue.prototype.tools = tools; Vue.prototype.tools = tools;
Vue.prototype.local = local; Vue.prototype.local = local;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!