mirror of
https://github.com/rustfs/console.git
synced 2026-09-19 01:47:44 +08:00
fix: component name
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user