fix(1.4.0-beta1): 优化组件
This commit is contained in:
parent
c18ec3298c
commit
f21db05527
@ -30,7 +30,7 @@ const options = computed(() => {
|
||||
if (!props.ignore) {
|
||||
return list;
|
||||
}
|
||||
return list.filter(opt => opt.value !== 4);
|
||||
return list.filter(opt => props.ignore?.includes(opt.value as Api.Common.BlockStrategy));
|
||||
});
|
||||
</script>
|
||||
|
||||
|
@ -77,6 +77,7 @@ const renderLabel = (option: SelectOption) => <NEllipsis>{option.label}</NEllips
|
||||
:options="translateOptions2(sceneNameList)"
|
||||
:clearable="props.clearable"
|
||||
:render-label="renderLabel"
|
||||
filterable
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user