We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3650a4e commit f49c783Copy full SHA for f49c783
2 files changed
lib/core.ts
@@ -23,7 +23,7 @@ export const __version__ = "0.0.1";
23
// 存放meta路由信息
24
export const routeMetaInfo = new Map();
25
26
-// 当前文件路由是否架子
+// 当前文件路由是否挂载
27
export const disableLoading = Symbol("disableLoading");
28
29
// 初始化各种扩展,中间件
lib/linRouter.ts
@@ -10,10 +10,10 @@ export interface Meta {
10
/**
11
* lin-router继承自koa-router
12
* 即可使用全部的koa-router api
13
- * 也可使用已 red 为前缀的方法,用于视图函数的权限
+ * 也可使用以 lin 为前缀的方法,用于视图函数的权限
14
*/
15
export class LinRouter extends Router {
16
- redOption(
+ linOption(
17
name: string,
18
path: string | RegExp,
19
meta?: Meta,
0 commit comments