fix: 一些基本功能

This commit is contained in:
2025-03-07 08:18:45 +08:00
parent 638462295d
commit 4cdb8351d4
453 changed files with 13336 additions and 24197 deletions

View File

@@ -39,13 +39,13 @@ defineEmits(['click']);
'pb-4': index > 2,
}"
class="border-border group w-full cursor-pointer border-r border-t p-4 transition-all hover:shadow-xl md:w-1/2 lg:w-1/3"
@click="$emit('click', item)"
>
<div class="flex items-center">
<VbenIcon
:color="item.color"
:icon="item.icon"
class="size-8 transition-all duration-300 group-hover:scale-110"
@click="$emit('click', item)"
/>
<span class="ml-4 text-lg font-medium">{{ item.title }}</span>
</div>

View File

@@ -7,7 +7,7 @@ interface FallbackProps {
* @zh_CN 首页路由地址
* @default /
*/
homePath?: string;
home_path?: string;
/**
* @zh_CN 默认显示的图片
* @default pageNotFoundSvg

View File

@@ -16,7 +16,7 @@ defineOptions({
const props = withDefaults(defineProps<Props>(), {
description: '',
homePath: '/',
home_path: '/',
image: '',
showBack: true,
status: 'coming-soon',
@@ -118,7 +118,7 @@ const { push } = useRouter();
// 返回首页
function back() {
push(props.homePath);
push(props.home_path);
}
function refresh() {