fix(qdreader): shorten delete hint

This commit is contained in:
2026-05-23 02:16:28 +08:00
parent a8dc7233a7
commit 48ca7341f9
3 changed files with 8 additions and 7 deletions
+3 -3
View File
@@ -4,7 +4,7 @@
//[author: Hermes]
//[service: BOSS]
//[class: 工具类]
// [version: 2.15.0]
// [version: 2.15.1]
// [platform: web,qq,wx,tg,tb,fs,we]
// [public: false]
// [price: 0]
@@ -279,7 +279,7 @@ function contentText() {
}
function usage() {
return [
"启点读书签到插件 v2.15.0",
"启点读书签到插件 v2.15.1",
"【一级菜单】",
"账号管理:启点账号",
"执行查询:启点查询",
@@ -988,7 +988,7 @@ function accountMenuText(store, bind) {
}
}
lines.push("0、添加/更新账号")
lines.push("-删除账号,例如 -1")
lines.push("-删除账号")
lines.push("q、退出")
return lines.join("\n")
}
+3 -3
View File
@@ -4,7 +4,7 @@
//[author: Hermes]
//[service: BOSS]
//[class: 工具类]
// [version: 2.15.0]
// [version: 2.15.1]
// [platform: web,qq,wx,tg,tb,fs,we]
// [public: false]
// [price: 0]
@@ -279,7 +279,7 @@ function contentText() {
}
function usage() {
return [
"启点读书签到插件 v2.15.0",
"启点读书签到插件 v2.15.1",
"【一级菜单】",
"账号管理:启点账号",
"执行查询:启点查询",
@@ -988,7 +988,7 @@ function accountMenuText(store, bind) {
}
}
lines.push("0、添加/更新账号")
lines.push("-删除账号,例如 -1")
lines.push("-删除账号")
lines.push("q、退出")
return lines.join("\n")
}
+2 -1
View File
@@ -683,7 +683,8 @@ test('account menu first screen lists accounts and positive number opens config'
assert.match(r.replies[0], /账号列表如下/);
assert.match(r.replies[0], /1、12\*\*\*45\[主号\]/);
assert.match(r.replies[0], /2、67\*\*\*90\[副号\]/);
assert.match(r.replies[0], /-删除账号,例如 -1/);
assert.match(r.replies[0], /-删除账号/);
assert.doesNotMatch(r.replies[0], /例如/);
assert.match(r.replies[1], /启点账号详情/);
assert.match(r.replies[1], /67\*\*\*90/);
assert.match(r.replies[1], /账号操作/);