diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/shop/list/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/shop/list/index.vue index e6a825d2..0f06496a 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/shop/list/index.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/shop/list/index.vue @@ -193,20 +193,6 @@ const [Grid, gridApi] = useVbenVxeGrid({ }); gridReloadRef.value = () => gridApi.reload(); - -// 加载平台选项 -async function fetchPlatformOptions() { - try { - const data = await getActivePlatformsApi(); - platformOptions.value = data.map((p: any) => ({ - label: p.platformName, - value: p.id, - })); - } catch (error) { - console.error('获取平台列表失败:', error); - } -} - // 刷新表格数据 function refreshTable() { if (gridApi) { @@ -241,8 +227,8 @@ function handleModalSuccess() { refreshTable(); } -// 处理查看详情 -function handleViewDetails(record: ShopVO.Info) { +// 处理查看概览 +function handleViewOverview(record: ShopVO.Info) { router.push(`/ecom/shop/overview/${record.id}`); } @@ -290,7 +276,7 @@ function handleViewDetails(record: ShopVO.Info) {