diff --git a/src/router/index.js b/src/router/index.js index b25687f..74c425c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -133,7 +133,7 @@ const routes = [ }, { path: "/error_:code([0-9]{6})", component: ErrorNote }, { - path: "/:name([a-z0-9]{1,20})", + path: "/:name([a-z0-9]{10,20})", name: "note", component: getNoteView(), meta: { keyMeta: getKeyMetaParam(), noteMeta: getNoteMetaParam(), errorMeta: getErrorMetaParam() },