|
|
|
@ -3,7 +3,7 @@ import axios from "axios";
|
|
|
|
|
import { onMounted, ref } from "vue";
|
|
|
|
|
import dplayer from "@/components/VideoPlayer/MyPlayer.vue";
|
|
|
|
|
import OurPlayer from "@/components/VideoPlayer/OurPlayer.vue";
|
|
|
|
|
import { ElMessageBox } from "element-plus";
|
|
|
|
|
import { ElMessageBox, ElMessage } from "element-plus";
|
|
|
|
|
import { getConfig } from "@/config";
|
|
|
|
|
import { getToken, formatToken } from "@/utils/auth";
|
|
|
|
|
|
|
|
|
@ -90,7 +90,10 @@ function onSearch() {
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(error => {
|
|
|
|
|
// console.log("请求失败");
|
|
|
|
|
ElMessage({
|
|
|
|
|
message: "网络暂不通畅",
|
|
|
|
|
type: "warning"
|
|
|
|
|
})
|
|
|
|
|
console.log(error);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -138,7 +141,10 @@ function getEvents() {
|
|
|
|
|
// console.log(eventMap.value);
|
|
|
|
|
})
|
|
|
|
|
.catch(error => {
|
|
|
|
|
// console.log("请求失败");
|
|
|
|
|
ElMessage({
|
|
|
|
|
message: "网络暂不通畅",
|
|
|
|
|
type: "warning"
|
|
|
|
|
})
|
|
|
|
|
console.log(error);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|