未验证 提交 85f1e58b 编写于 作者: T Tanimodori 提交者: GitHub

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

上级 e073b4c9
...@@ -7,7 +7,7 @@ import { unref } from 'vue'; ...@@ -7,7 +7,7 @@ import { unref } from 'vue';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { REDIRECT_NAME } from '/@/router/constant'; import { REDIRECT_NAME } from '/@/router/constant';
export type RouteLocationRawEx = Omit<RouteLocationRaw, 'path'> & { path: PageEnum }; export type RouteLocationRawEx = RouteLocationRaw & { path: PageEnum };
function handleError(e: Error) { function handleError(e: Error) {
console.error(e); console.error(e);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册