diff --git a/apps/web-antd/src/views/mall/promotion/components/app-link-input/app-link-select-dialog.vue b/apps/web-antd/src/views/mall/promotion/components/app-link-input/app-link-select-dialog.vue index 4102d7063..6f87ab295 100644 --- a/apps/web-antd/src/views/mall/promotion/components/app-link-input/app-link-select-dialog.vue +++ b/apps/web-antd/src/views/mall/promotion/components/app-link-input/app-link-select-dialog.vue @@ -120,8 +120,9 @@ function handleGroupSelected(group: string) { /** 自动滚动分组按钮,确保分组按钮保持在可视区域内 */ function scrollToGroupBtn(group: string) { - const groupBtn = groupBtnRefs.value - .find((ref: HTMLButtonElement | undefined) => ref?.textContent === group); + const groupBtn = groupBtnRefs.value.find( + (ref: HTMLButtonElement | undefined) => ref?.textContent === group, + ); if (groupBtn && groupScrollbar.value) { groupScrollbar.value.scrollTop = groupBtn.offsetTop; } @@ -150,14 +151,11 @@ function handleProductCategorySelected(id: number) {
-
+