|
@@ -1,8 +1,8 @@
|
|
/*
|
|
/*
|
|
* @Author: xvying 1615026511@qq.com
|
|
* @Author: xvying 1615026511@qq.com
|
|
* @Date: 2022-10-09 11:40:36
|
|
* @Date: 2022-10-09 11:40:36
|
|
- * @LastEditors: king
|
|
|
|
- * @LastEditTime: 2023-03-25 18:52:14
|
|
|
|
|
|
+ * @LastEditors: Please set LastEditors
|
|
|
|
+ * @LastEditTime: 2023-03-26 23:32:26
|
|
* @FilePath: main.js
|
|
* @FilePath: main.js
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
*/
|
|
@@ -22,8 +22,8 @@ import router from "./router";
|
|
import "@/icons"; // icon
|
|
import "@/icons"; // icon
|
|
import "@/permission"; // permission control
|
|
import "@/permission"; // permission control
|
|
|
|
|
|
-import Video from 'video.js'
|
|
|
|
-import 'video.js/dist/video-js.css'
|
|
|
|
|
|
+import Video from "video.js";
|
|
|
|
+import "video.js/dist/video-js.css";
|
|
/**
|
|
/**
|
|
* If you don't want to use mock-server
|
|
* If you don't want to use mock-server
|
|
* you want to use MockJs for mock api
|
|
* you want to use MockJs for mock api
|
|
@@ -41,19 +41,19 @@ Vue.prototype.base_url =
|
|
process.env.ENV === "development"
|
|
process.env.ENV === "development"
|
|
? "http://api.party.site.ximengnaikang.com" // 开发地址
|
|
? "http://api.party.site.ximengnaikang.com" // 开发地址
|
|
: process.env.ENV === "production"
|
|
: process.env.ENV === "production"
|
|
- ? "http://api.party.demo.xmnk.cn" // 生产地址
|
|
|
|
- : "http://api.party.demo.xmnk.cn"; // 测试地址
|
|
|
|
|
|
+ ? "https://bcydj.hactcm.edu.cn" // 生产地址
|
|
|
|
+ : "https://bcydj.hactcm.edu.cn"; // 测试地址
|
|
|
|
|
|
// set ElementUI lang to EN
|
|
// set ElementUI lang to EN
|
|
//Vue.use(ElementUI, { locale })
|
|
//Vue.use(ElementUI, { locale })
|
|
// 如果想要中文版 element-ui,按如下方式声明
|
|
// 如果想要中文版 element-ui,按如下方式声明
|
|
Vue.use(ElementUI);
|
|
Vue.use(ElementUI);
|
|
-Vue.prototype.$baseConfirm = ElementUI.MessageBox.confirm
|
|
|
|
|
|
+Vue.prototype.$baseConfirm = ElementUI.MessageBox.confirm;
|
|
Vue.config.productionTip = false;
|
|
Vue.config.productionTip = false;
|
|
|
|
|
|
// 注册 EventBus
|
|
// 注册 EventBus
|
|
Vue.prototype.$event = new Vue();
|
|
Vue.prototype.$event = new Vue();
|
|
-Vue.prototype.$video = Video
|
|
|
|
|
|
+Vue.prototype.$video = Video;
|
|
// 注册全局自定义快速读取 excel `v-read-excel`
|
|
// 注册全局自定义快速读取 excel `v-read-excel`
|
|
Vue.directive("read-excel", {
|
|
Vue.directive("read-excel", {
|
|
inserted: (el, { value }) => {
|
|
inserted: (el, { value }) => {
|