diff --git a/apps/web-antdv-next/src/adapter/component/index.ts b/apps/web-antdv-next/src/adapter/component/index.ts index a447db1d0..0aed8b5c6 100644 --- a/apps/web-antdv-next/src/adapter/component/index.ts +++ b/apps/web-antdv-next/src/adapter/component/index.ts @@ -279,9 +279,9 @@ async function previewImage( { class: 'hidden', preview: { - visible: visible.value, + open: visible.value, current: currentIndex, - onVisibleChange: (value: boolean) => { + onOpenChange: (value: boolean) => { visible.value = value; if (!value) { setTimeout(() => { @@ -366,7 +366,7 @@ function cropImage(file: File, aspectRatio: string | undefined) { closable: false, cancelText: $t('common.cancel'), okText: $t('ui.crop.confirm'), - destroyOnClose: true, + destroyOnHidden: true, onOk: async () => { const cropper = cropperRef.value; if (!cropper) { @@ -676,13 +676,13 @@ async function initComponentAdapter() { fieldNames: { label: 'label', value: 'value', children: 'children' }, loadingSlot: 'suffixIcon', modelPropName: 'value', - visibleEvent: 'onVisibleChange', + visibleEvent: 'onOpenChange', }), ApiSelect: withDefaultPlaceholder(ApiComponent, 'select', { component: Select, loadingSlot: 'suffixIcon', modelPropName: 'value', - visibleEvent: 'onVisibleChange', + visibleEvent: 'onOpenChange', }), ApiTreeSelect: withDefaultPlaceholder(ApiComponent, 'select', { component: TreeSelect, @@ -690,7 +690,7 @@ async function initComponentAdapter() { loadingSlot: 'suffixIcon', modelPropName: 'value', optionsPropName: 'treeData', - visibleEvent: 'onVisibleChange', + visibleEvent: 'onOpenChange', }), AutoComplete, Cascader, diff --git a/apps/web-antdv-next/src/components/cron-tab/cron-tab.vue b/apps/web-antdv-next/src/components/cron-tab/cron-tab.vue index 59bf8004e..87cce4737 100644 --- a/apps/web-antdv-next/src/components/cron-tab/cron-tab.vue +++ b/apps/web-antdv-next/src/components/cron-tab/cron-tab.vue @@ -438,7 +438,7 @@ function inputChange() {
diff --git a/apps/web-antdv-next/src/components/description/description.vue b/apps/web-antdv-next/src/components/description/description.vue index 86f90c8d4..09f5c2697 100644 --- a/apps/web-antdv-next/src/components/description/description.vue +++ b/apps/web-antdv-next/src/components/description/description.vue @@ -172,13 +172,15 @@ export default defineComponent({ return ( {{ diff --git a/apps/web-antdv-next/src/store/auth.ts b/apps/web-antdv-next/src/store/auth.ts index af0e91594..539c37667 100644 --- a/apps/web-antdv-next/src/store/auth.ts +++ b/apps/web-antdv-next/src/store/auth.ts @@ -95,7 +95,7 @@ export const useAuthStore = defineStore('auth', () => { notification.success({ description: `${$t('authentication.loginSuccessDesc')}:${userInfo?.nickname}`, duration: 3, - message: $t('authentication.loginSuccess'), + title: $t('authentication.loginSuccess'), }); } } diff --git a/apps/web-antdv-next/src/views/ai/chat/index/modules/role/list.vue b/apps/web-antdv-next/src/views/ai/chat/index/modules/role/list.vue index 4bd78271d..bc6f55bb7 100644 --- a/apps/web-antdv-next/src/views/ai/chat/index/modules/role/list.vue +++ b/apps/web-antdv-next/src/views/ai/chat/index/modules/role/list.vue @@ -65,14 +65,16 @@ async function handleTabsScroll() {
diff --git a/apps/web-antdv-next/src/views/ai/image/index/modules/list.vue b/apps/web-antdv-next/src/views/ai/image/index/modules/list.vue index e6b49b744..3be7355a8 100644 --- a/apps/web-antdv-next/src/views/ai/image/index/modules/list.vue +++ b/apps/web-antdv-next/src/views/ai/image/index/modules/list.vue @@ -174,13 +174,15 @@ onUnmounted(async () => {