diff --git a/src/api/media/device.ts b/src/api/media/device.ts index 4634bfbd..6854d9e4 100644 --- a/src/api/media/device.ts +++ b/src/api/media/device.ts @@ -13,8 +13,10 @@ export default { del: (id: string) => server.remove(`/media/device/${id}`), // 更新通道 updateChannels: (id: string) => server.post(`/media/device/${id}/channels/_sync`), - // 查询产品列表 + // post查询产品列表 queryProductList: (data: any) => server.post(`/device/product/_query/no-paging`, data), + // get获取产品 + getProductList: (data: any) => server.get(`/device/product/_query/no-paging?paging=false`, data), // 快速添加产品 saveProduct: (data: any) => server.post(`/device/product`, data), // 产品发布 diff --git a/src/components/Layout/BasicLayoutPage.vue b/src/components/Layout/BasicLayoutPage.vue index e2f83a7b..06a24bb7 100644 --- a/src/components/Layout/BasicLayoutPage.vue +++ b/src/components/Layout/BasicLayoutPage.vue @@ -14,7 +14,7 @@ > {{ slotProps.route.breadcrumbName }} - {{ slotProps.route.breadcrumbName }} + {{ slotProps.route.breadcrumbName }}