mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-26 01:34:33 +08:00
perf: enable strict ts type checking (#4045)
This commit is contained in:
@@ -18,7 +18,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
});
|
||||
|
||||
const defaultValue = computed(() => {
|
||||
return props.tabs?.[0].value;
|
||||
return props.tabs?.[0]?.value;
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user