Fixed single proxy display error

This commit is contained in:
Peng-YM
2020-09-23 18:00:04 +08:00
parent 3d208c9e9f
commit d30ece21ae
6 changed files with 73 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
import Axios from 'axios';
import Vue from 'vue';
import store from "@/store";
import {BACKEND_BASE} from "@/config";
@@ -7,6 +8,8 @@ export const axios = Axios.create({
timeout: 10000
});
export const EventBus = new Vue();
export function isEmptyObj(obj) {
return Object.keys(obj).length === 0;
}