feat(sj_1.0.0): 优化广播和分片只能选择轮询的逻辑
This commit is contained in:
parent
8857278a80
commit
bba5fc0dde
@ -29,8 +29,8 @@ const selectOptions = computed(() => {
|
||||
// 默认选中轮询
|
||||
emit('update:value', 4);
|
||||
|
||||
// 1:集群, 3:切片
|
||||
if (props.taskType === 1 || props.taskType === 3) {
|
||||
// 2:集群, 3:切片
|
||||
if (props.taskType === 2 || props.taskType === 3) {
|
||||
return translateOptions(routeKeyRecordOptions.filter(o => o.value === 4));
|
||||
}
|
||||
// 2:广播
|
||||
|
Loading…
Reference in New Issue
Block a user