mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-29 11:44:01 +00:00
fix: 解决更新云同步任务时,优先级无法更新问题
This commit is contained in:
parent
379cd2386a
commit
dc401f80b9
@ -27,7 +27,7 @@ export default {
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
default: () => ({ name: '', strategy_rules: [], strategy_actions: [] })
|
||||
default: () => ({ name: '', priority: 50, strategy_rules: [], strategy_actions: [] })
|
||||
},
|
||||
tableConfig: {
|
||||
type: Object,
|
||||
@ -76,7 +76,7 @@ export default {
|
||||
getObject() {
|
||||
if (this.value?.id) {
|
||||
return {
|
||||
id: this.value.id, name: this.value.name,
|
||||
id: this.value.id, name: this.value.name, priority: this.value.priority,
|
||||
strategy_rules: this.value.strategy_rules, strategy_actions: this.value.strategy_actions
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user