koishi-plugin-xsxn-vue3 1.0.14 → 1.0.15

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 CHANGED
@@ -97,7 +97,7 @@ async function apply(ctx, cfg) {
97
97
  return getPage(cfg.url + `/queryCompanion?name=${name2}`, _.session);
98
98
  });
99
99
  ctx.command("queryTianzhu <name>").alias("天柱").action((_, name2) => {
100
- if (name2 == void 0 || name2.length <= 1)
100
+ if (name2 == void 0 || name2.length == 0)
101
101
  return "参数不可为空,如:天柱+空格+电母";
102
102
  if (name2 == "铜币" || name2 == "灵石")
103
103
  return "兄弟,不要搞这种";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-xsxn-vue3",
3
3
  "description": "查询工具与后端分离,无服务端,自用版本",
4
- "version": "1.0.14",
4
+ "version": "1.0.15",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
package/readme.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # koishi-plugin-xsxn-vue3
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/koishi-plugin-xsxn-vue3?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-xsxn-vue3)
4
+ - ### 1.0.15
5
+ - 兼容天柱单字搜索
4
6
  - ### 1.0.14
5
7
  - 压缩截图质量
6
8
  - ### 1.0.11