This commit is contained in:
Fine 2025-04-22 10:40:07 +08:00
parent 7057e64ebd
commit 0ce2d7e5a2
2 changed files with 1 additions and 7 deletions

View File

@ -17,12 +17,6 @@
* under the License.
*/
type GraphQLErrors = Array<{ message: string }>;
type GraphQLResponse<T> = {
data?: T;
errors?: GraphQLErrors;
};
const Timeout = 2 * 60 * 1000;
export let globalAbortController = new AbortController();
export function abortRequestsAndUpdate() {

View File

@ -37,7 +37,7 @@ const router = createRouter({
routes,
});
router.beforeEach((to, from, next) => {
router.beforeEach((to, _, next) => {
// const token = window.localStorage.getItem("skywalking-authority");
if (to.path === "/") {