Skip to content

Commit f49c783

Browse files
author
pedro
committed
fix: 修改一些错误词
1 parent 3650a4e commit f49c783

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const __version__ = "0.0.1";
2323
// 存放meta路由信息
2424
export const routeMetaInfo = new Map();
2525

26-
// 当前文件路由是否架子
26+
// 当前文件路由是否挂载
2727
export const disableLoading = Symbol("disableLoading");
2828

2929
// 初始化各种扩展,中间件

lib/linRouter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ export interface Meta {
1010
/**
1111
* lin-router继承自koa-router
1212
* 即可使用全部的koa-router api
13-
* 也可使用已 red 为前缀的方法,用于视图函数的权限
13+
* 也可使用以 lin 为前缀的方法,用于视图函数的权限
1414
*/
1515
export class LinRouter extends Router {
16-
redOption(
16+
linOption(
1717
name: string,
1818
path: string | RegExp,
1919
meta?: Meta,

0 commit comments

Comments
 (0)