Skip to content
代码片段 群组 项目
提交 6bd6e91f 编辑于 作者: Kev's avatar Kev
浏览文件

Fix user list selection is not in sync with UI

Changelog: fixed
上级 db259d5b
No related branches found
No related tags found
无相关合并请求
......@@ -142,7 +142,14 @@ export default {
return !this.$options.rolloutPercentageRegex.test(percentage);
}),
onFormStrategyChange(strategy, index) {
const currentUserListId = this.filteredStrategies[index]?.userList?.id;
const newUserListId = strategy?.userList?.id;
Object.assign(this.filteredStrategies[index], strategy);
if (currentUserListId !== newUserListId) {
this.formStrategies = [...this.formStrategies];
}
},
},
};
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册