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