mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix:<本>攻略,发送'%更新本攻略'
This commit is contained in:
parent
9061bcbaa7
commit
b82bea43c5
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ export class Guide extends ZZZPlugin {
|
||||||
let posts = lodash.flatten(lodash.map(msyRes, item => item.data.posts));
|
let posts = lodash.flatten(lodash.map(msyRes, item => item.data.posts));
|
||||||
let url;
|
let url;
|
||||||
for (let val of posts) {
|
for (let val of posts) {
|
||||||
if (val.post.subject.includes(name)) {
|
if (val.post.subject.replace(/【[^】]*本[^】]*】/g, '').includes(name)) {
|
||||||
let max = 0;
|
let max = 0;
|
||||||
val.image_list.forEach((v, i) => {
|
val.image_list.forEach((v, i) => {
|
||||||
if (
|
if (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue