fix: component name

This commit is contained in:
overtrue
2025-03-23 12:48:47 +08:00
parent be572c2c38
commit 06d644ac4b
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ const { data, refresh } = await useAsyncData(
const router = useRouter();
const handleRowClick = (row: RowData) => {
router.push({
path: `/bucket/${encodeURIComponent(row.Name)}`,
path: `/buckets/${encodeURIComponent(row.Name)}`,
});
};
const handleFormClosed = (show: boolean) => {
+4 -4
View File
@@ -1,6 +1,6 @@
<template>
<div>
<content>
<page-content>
<page-header>
<template #title>
<div class="flex items-center gap-4">
@@ -11,14 +11,14 @@
<page-content class="flex flex-col gap-4">
<buckets-info :bucket="bucketName" />
</page-content>
</content>
</page-content>
<footer />
</div>
</template>
<script lang="ts" setup>
import { useRoute } from '#app';
import { computed } from 'vue';
import { useRoute } from '#app'
import { computed } from 'vue'
// 从路由参数中获取 bucketName, pageSize, continuationToken
const route = useRoute();