fix(1.4.0-beta1): 优化组件

This commit is contained in:
xlsea 2025-02-28 11:41:20 +08:00
parent c18ec3298c
commit f21db05527
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -77,6 +77,7 @@ const renderLabel = (option: SelectOption) => <NEllipsis>{option.label}</NEllips
:options="translateOptions2(sceneNameList)"
:clearable="props.clearable"
:render-label="renderLabel"
filterable
/>
</template>