From 6bc0d627c150b33acc52c42fc2946e537c01fa67 Mon Sep 17 00:00:00 2001 From: XuZhiqiang Date: Thu, 25 Jun 2026 18:07:44 +0800 Subject: [PATCH] fix(@vben/web-antdv-next): replace deprecated semantic props - migrate Spin wrapperClassName and tip to classes.root and description - migrate Card bodyStyle and borderless usage to styles.body and variant - migrate Tooltip, Popover, and Dropdown overlay props to classes.root and styles.root --- .../im/home/components/friend/friend-add-dialog.vue | 2 +- .../components/group/group-request-list-dialog.vue | 2 +- .../im/home/components/rtc/rtc-group-call-banner.vue | 2 +- .../src/views/im/home/components/user/user-info.vue | 2 +- .../conversation/conversation-group-side.vue | 8 ++++---- .../conversation/conversation-private-side.vue | 4 ++-- .../components/message/material-bubble.vue | 2 +- .../components/message/message-history.vue | 4 ++-- .../components/message/message-panel.vue | 4 ++-- .../components/message/message-read-status.vue | 2 +- .../src/views/iot/alert/record/index.vue | 2 +- .../device/detail/modules/thing-model-property.vue | 2 +- .../src/views/iot/device/device/index.vue | 2 +- .../views/iot/device/device/modules/card-view.vue | 12 +++++++----- .../src/views/iot/product/product/index.vue | 2 +- .../views/iot/product/product/modules/card-view.vue | 12 +++++++----- .../iot/rule/scene/form/inputs/json-params-input.vue | 4 ++-- .../rule/scene/form/selectors/property-selector.vue | 4 ++-- .../src/views/iot/rule/scene/index.vue | 8 ++++---- .../mall/statistics/product/modules/summary-card.vue | 2 +- .../mall/statistics/trade/modules/trend-card.vue | 2 +- .../src/views/mes/cal/calendar/components/panel.vue | 2 +- .../views/mes/md/item/modules/product-media-list.vue | 2 +- .../src/views/mes/md/item/type/components/tree.vue | 2 +- .../src/views/system/dept/components/tree-select.vue | 2 +- .../role/modules/assign-data-permission-form.vue | 2 +- .../views/system/role/modules/assign-menu-form.vue | 2 +- .../src/views/system/tenantPackage/modules/form.vue | 2 +- .../src/views/system/user/modules/dept-tree.vue | 2 +- apps/web-antdv-next/src/views/wms/home/index.vue | 2 +- .../wms/home/modules/wms-home-inventory-charts.vue | 4 ++-- .../home/modules/wms-home-order-summary-cards.vue | 2 +- .../wms/home/modules/wms-home-order-trend-chart.vue | 2 +- .../views/wms/md/item/category/components/tree.vue | 2 +- 34 files changed, 58 insertions(+), 54 deletions(-) diff --git a/apps/web-antdv-next/src/views/im/home/components/friend/friend-add-dialog.vue b/apps/web-antdv-next/src/views/im/home/components/friend/friend-add-dialog.vue index 8a22a55a5..2b7f57777 100644 --- a/apps/web-antdv-next/src/views/im/home/components/friend/friend-add-dialog.vue +++ b/apps/web-antdv-next/src/views/im/home/components/friend/friend-add-dialog.vue @@ -179,7 +179,7 @@ async function handleSubmitApply() { - +
- +
diff --git a/apps/web-antdv-next/src/views/im/home/components/rtc/rtc-group-call-banner.vue b/apps/web-antdv-next/src/views/im/home/components/rtc/rtc-group-call-banner.vue index e7aabcced..758ce6583 100644 --- a/apps/web-antdv-next/src/views/im/home/components/rtc/rtc-group-call-banner.vue +++ b/apps/web-antdv-next/src/views/im/home/components/rtc/rtc-group-call-banner.vue @@ -147,7 +147,7 @@ async function handleJoin() { diff --git a/apps/web-antdv-next/src/views/im/home/components/user/user-info.vue b/apps/web-antdv-next/src/views/im/home/components/user/user-info.vue index f84048580..e5abfe1cf 100644 --- a/apps/web-antdv-next/src/views/im/home/components/user/user-info.vue +++ b/apps/web-antdv-next/src/views/im/home/components/user/user-info.vue @@ -305,7 +305,7 @@ async function handleDeleteFriend() {
- +
diff --git a/apps/web-antdv-next/src/views/im/home/pages/conversation/components/conversation/conversation-group-side.vue b/apps/web-antdv-next/src/views/im/home/pages/conversation/components/conversation/conversation-group-side.vue index cc3cf66e1..0b35584ed 100644 --- a/apps/web-antdv-next/src/views/im/home/pages/conversation/components/conversation/conversation-group-side.vue +++ b/apps/web-antdv-next/src/views/im/home/pages/conversation/components/conversation/conversation-group-side.vue @@ -497,7 +497,7 @@ function handleOpenTransferOwner() { v-model:open="namePopoverVisible" trigger="click" placement="leftTop" - :overlay-style="{ width: '280px' }" + :styles="{ root: { width: '280px' } }" >
- +
@@ -184,7 +184,7 @@ function handleGroupCreated(groupId: number) { v-model:open="displayNamePopoverVisible" trigger="click" placement="leftTop" - :overlay-style="{ width: '280px' }" + :styles="{ root: { width: '280px' } }" >
{ wrap-class-name="im-material-detail-modal" destroy-on-hidden > - +
{{ payload.title || '' }} diff --git a/apps/web-antdv-next/src/views/im/home/pages/conversation/components/message/message-history.vue b/apps/web-antdv-next/src/views/im/home/pages/conversation/components/message/message-history.vue index 8c202f551..5ef46f33f 100644 --- a/apps/web-antdv-next/src/views/im/home/pages/conversation/components/message/message-history.vue +++ b/apps/web-antdv-next/src/views/im/home/pages/conversation/components/message/message-history.vue @@ -569,7 +569,7 @@ function locateMessage(messageId: number) { v-model:open="datePopoverVisible" trigger="click" placement="bottom" - :overlay-style="{ width: '320px' }" + :styles="{ root: { width: '320px' } }" >