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.
- package/lib/index.js +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.
|
|
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 上页\
|
|
473
|
+
[当前位置] ${goalItem.crumbs}` : "\n\n主菜单") + "\n\nQ 上页\nP 首页\n0 退出",
|
|
474
474
|
err: false,
|
|
475
475
|
end: goalItem.end
|
|
476
476
|
};
|