revert: update

This commit is contained in:
Fine 2023-08-01 14:43:01 +08:00
parent 1393b193dc
commit 3d0e0f7300

View File

@ -14,6 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import type { RouteRecordRaw } from "vue-router";
import { createRouter, createWebHistory } from "vue-router";
import { routesDashboard } from "./dashboard";
import { routesMarketplace } from "./marketplace";
@ -21,7 +22,13 @@ import { routesAlarm } from "./alarm";
import routesLayers from "./layer";
import { routesSettings } from "./settings";
const routes = [...routesMarketplace, ...routesLayers, ...routesAlarm, ...routesDashboard, ...routesSettings];
const routes: RouteRecordRaw[] = [
...routesMarketplace,
...routesLayers,
...routesAlarm,
...routesDashboard,
...routesSettings,
];
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),