types: 修复RouteLocationRawEx类型错误 (vbenjs#1968) (#1970)

This commit is contained in:
Tanimodori 2022-06-16 19:04:50 +08:00 committed by GitHub
parent e073b4c944
commit 85f1e58bcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import { unref } from 'vue';
import { useRouter } from 'vue-router';
import { REDIRECT_NAME } from '/@/router/constant';
export type RouteLocationRawEx = Omit<RouteLocationRaw, 'path'> & { path: PageEnum };
export type RouteLocationRawEx = RouteLocationRaw & { path: PageEnum };
function handleError(e: Error) {
console.error(e);