fix: 解决计划任务备份内容允许为空的校验问题 (#6142)

Refs #6099
This commit is contained in:
ssongliu 2024-08-15 17:42:28 +08:00 committed by GitHub
parent 5134caa103
commit aa222aac31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View File

@ -29,6 +29,8 @@ build/1panel
# Output of the go coverage tool, specifically when used with LiteIDE # Output of the go coverage tool, specifically when used with LiteIDE
*.out *.out
*_xpack.go
# Dependency directories # Dependency directories
/pkg/ /pkg/
backend/__debug_bin backend/__debug_bin

View File

@ -565,8 +565,10 @@ const rules = reactive({
], ],
script: [Rules.requiredInput], script: [Rules.requiredInput],
website: [Rules.requiredSelect], websiteList: [Rules.requiredSelect],
dbName: [Rules.requiredSelect], appIdList: [Rules.requiredSelect],
dbNameList: [Rules.requiredSelect],
backupAccountList: [Rules.requiredSelect],
url: [Rules.requiredInput], url: [Rules.requiredInput],
sourceDir: [Rules.requiredInput], sourceDir: [Rules.requiredInput],
backupAccounts: [Rules.requiredSelect], backupAccounts: [Rules.requiredSelect],