refactor: migrate playground deprecated antdv-next APIs

- Modal: destroyOnClose → destroyOnHidden
- Card: body-style → styles.body
- Alert: message prop/slot → title
- Spin: tip → description, wrapper-class-name → classes.root
This commit is contained in:
xingyu4j
2026-05-18 16:35:06 +08:00
parent a1081bf7a6
commit 1e44b87359
7 changed files with 14 additions and 12 deletions

View File

@@ -386,7 +386,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) {