diff --git a/src/App.vue b/src/App.vue index b61b8ee9..1206b11a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,10 @@ diff --git a/src/api/device/product.ts b/src/api/device/product.ts index b366b94a..df3741d5 100644 --- a/src/api/device/product.ts +++ b/src/api/device/product.ts @@ -194,4 +194,4 @@ export const getMetadataConfig = (params: { id: string; dataType: string; }; -}) => server.get[]>(`/device/product/${params.deviceId}/config-metadata/${params.metadata.type}/${params.metadata.id}/${params.metadata.dataType}`) \ No newline at end of file +}) => server.get[]>(`/device/product/${params.deviceId}/config-metadata/${params.metadata.type}/${params.metadata.id}/${params.metadata.dataType}`) diff --git a/src/components/BatchDropdown/index.vue b/src/components/BatchDropdown/index.vue index 90368bbf..928bed9a 100644 --- a/src/components/BatchDropdown/index.vue +++ b/src/components/BatchDropdown/index.vue @@ -75,11 +75,9 @@ const handleMenuClick = (e: any) => { if(!(val?.popConfirm || val?.onClick)){ emits('update:isCheck', true); emits('change', true); - } - if (val?.popConfirm) { - visible.value = false; - } else { visible.value = true; + } else { + visible.value = false; } _item.value = (val || {}) as any; }; diff --git a/src/components/Layout/BasicLayoutPage.vue b/src/components/Layout/BasicLayoutPage.vue index 7a7ca687..598fa6e5 100644 --- a/src/components/Layout/BasicLayoutPage.vue +++ b/src/components/Layout/BasicLayoutPage.vue @@ -6,6 +6,7 @@ v-model:selectedKeys="state.selectedKeys" :pure="state.pure" :breadcrumb="{ routes: breadcrumb }" + @backClick='routerBack' >