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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user