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