fix: shake when adding tabs

This commit is contained in:
vince
2024-07-16 22:07:28 +08:00
parent 9021e992ad
commit c2c32332d3
16 changed files with 256 additions and 226 deletions

View File

@@ -107,11 +107,11 @@ const fallbackIcon = computed(() => {
});
const showBack = computed(() => {
return ['403', '404'].includes(props.status);
return props.status === '403' || props.status === '404';
});
const showRefresh = computed(() => {
return ['500', 'offline'].includes(props.status);
return props.status === '500' || props.status === 'offline';
});
const { push } = useRouter();