koishi-plugin-smmcat-selfhelp 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -412,7 +412,7 @@ function apply(ctx, config) {
412
412
  }
413
413
  }
414
414
  });
415
- end || callback && callback({ selectMenu, title, lastPath: indePath.join("-"), change, crumbs: PathName.reverse().slice(-3).join("<"), end });
415
+ end || callback && callback({ selectMenu, title, lastPath: indePath.join("-"), change, crumbs: PathName.slice(-3).reverse().join("<"), end });
416
416
  },
417
417
  // 菜单渲染到界面
418
418
  markScreen(pathLine, session) {
@@ -470,7 +470,7 @@ function apply(ctx, config) {
470
470
  return {
471
471
  msg: goalItem.selectMenu.replace(/\\/g, "") + (goalItem.crumbs ? `
472
472
 
473
- [当前位置] ${goalItem.crumbs}` : "\n\n主菜单") + "\n\nQ 上页\n\n0 退出",
473
+ [当前位置] ${goalItem.crumbs}` : "\n\n主菜单") + "\n\nQ 上页\nP 首页\n0 退出",
474
474
  err: false,
475
475
  end: goalItem.end
476
476
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-smmcat-selfhelp",
3
3
  "description": "用户自助服务系统",
4
- "version": "0.2.2",
4
+ "version": "0.2.4",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [