🚸 improve: 多次点击编辑计划任务
This commit is contained in:
parent
1a762858d2
commit
48f98a43bb
9
.github/workflows/dashboard.yml
vendored
9
.github/workflows/dashboard.yml
vendored
@ -5,13 +5,14 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- "master"
|
- "master"
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "script/**"
|
- "cmd/playground/**"
|
||||||
- ".gitignore"
|
|
||||||
- "*.md"
|
|
||||||
- "cmd/agent/**"
|
- "cmd/agent/**"
|
||||||
- ".github/workflows/agent.yml"
|
- ".github/workflows/agent.yml"
|
||||||
- ".goreleaser.yml"
|
|
||||||
- ".github/ISSUE_TEMPLATE/**"
|
- ".github/ISSUE_TEMPLATE/**"
|
||||||
|
- ".goreleaser.yml"
|
||||||
|
- ".gitignore"
|
||||||
|
- "script/**"
|
||||||
|
- "*.md"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -149,6 +149,9 @@ function addOrEditCron(cron) {
|
|||||||
modal.find('input[name=ID]').val(cron ? cron.ID : null)
|
modal.find('input[name=ID]').val(cron ? cron.ID : null)
|
||||||
modal.find('input[name=Name]').val(cron ? cron.Name : null)
|
modal.find('input[name=Name]').val(cron ? cron.Name : null)
|
||||||
modal.find('input[name=Scheduler]').val(cron ? cron.Scheduler : null)
|
modal.find('input[name=Scheduler]').val(cron ? cron.Scheduler : null)
|
||||||
|
modal.find('a.ui.label.visible').each((i,el) => {
|
||||||
|
el.remove()
|
||||||
|
})
|
||||||
var servers
|
var servers
|
||||||
if (cron) {
|
if (cron) {
|
||||||
servers = cron.ServersRaw
|
servers = cron.ServersRaw
|
||||||
|
Loading…
x
Reference in New Issue
Block a user