From 5889203b8a1df389c3b3d639605acfe6c2471ccf Mon Sep 17 00:00:00 2001 From: HRS-Computer <3474006766@qq.com> Date: Wed, 18 Jan 2023 17:40:19 +0800 Subject: [PATCH] v0.7.6 --- .../com/github/kloping/Plugin0AutoReply.java | 2 +- src/main/resources/static/manager.html | 21 ++++++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/github/kloping/Plugin0AutoReply.java b/src/main/java/com/github/kloping/Plugin0AutoReply.java index 54c2811..96e4756 100644 --- a/src/main/java/com/github/kloping/Plugin0AutoReply.java +++ b/src/main/java/com/github/kloping/Plugin0AutoReply.java @@ -24,7 +24,7 @@ public class Plugin0AutoReply extends JavaPlugin { public static final Plugin0AutoReply INSTANCE = new Plugin0AutoReply(); private Plugin0AutoReply() { - super(new JvmPluginDescriptionBuilder("com.hrs.kloping.AutoReply", "0.7.5") + super(new JvmPluginDescriptionBuilder("com.hrs.kloping.AutoReply", "0.7.6") .name("Custom Reply") .info("Custom Reply") .author("HRS") diff --git a/src/main/resources/static/manager.html b/src/main/resources/static/manager.html index bdc5823..bc3cebb 100644 --- a/src/main/resources/static/manager.html +++ b/src/main/resources/static/manager.html @@ -24,10 +24,10 @@

作者QQ: 3474006766


开关管理页面
+


-
@@ -78,6 +78,25 @@
开关管理页面
} } }); + + let k = false + + function change() { + if (!k) { + vm1.data = vm1.data.filter(function (item) { + let v = item.id.charAt(0); + return v !== "u"; + }); + k = true + } else { + axios.get("/getManagerData").then(function (response) { + vm1.data = response.data; + }).catch(function (err) { + alert(err); + }) + k = false + } + } \ No newline at end of file