From 52dba71525ea9d1164fd391089a12aecdc09767f Mon Sep 17 00:00:00 2001 From: Treecat Date: Wed, 8 Mar 2023 19:47:23 +0800 Subject: [PATCH] KERNEL-14512 fix: ES6 router --- src/router/0.router.js | 1 + src/router/router.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/router/0.router.js b/src/router/0.router.js index a14feefa7..8c055c6a3 100644 --- a/src/router/0.router.js +++ b/src/router/0.router.js @@ -1,4 +1,5 @@ import { _ } from "@/core"; +import { _global } from "@/core/0.foundation"; const Events = { diff --git a/src/router/router.js b/src/router/router.js index c91d34a4e..554fe5e0c 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -1,5 +1,6 @@ import { nextTick, shortcut, Widget } from "@/core"; import { Router } from "./0.router"; +import { Fix } from "../fix"; function assert(condition, message) { if (!condition) {