mirror of
https://github.com/nezhahq/nezha.git
synced 2025-02-02 09:38:13 -05:00
fix: 移除服务监控设置页面重复生成的id
This commit is contained in:
parent
7228f334a5
commit
ceb1b74834
@ -264,6 +264,9 @@ function addOrEditMonitor(monitor) {
|
|||||||
} else {
|
} else {
|
||||||
modal.find(".ui.nb-notify.checkbox").checkbox("set unchecked");
|
modal.find(".ui.nb-notify.checkbox").checkbox("set unchecked");
|
||||||
}
|
}
|
||||||
|
modal.find("a.ui.label.visible").each((i, el) => {
|
||||||
|
el.remove();
|
||||||
|
});
|
||||||
var servers;
|
var servers;
|
||||||
if (monitor) {
|
if (monitor) {
|
||||||
servers = monitor.SkipServersRaw;
|
servers = monitor.SkipServersRaw;
|
||||||
|
Loading…
Reference in New Issue
Block a user