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

@@ -101,7 +101,7 @@ function getNodeClass(node: Recordable<any>) {
<Drawer :title="getDrawerTitle">
<Form>
<template #permissions="slotProps">
<Spin :spinning="loadingPermissions" wrapper-class-name="w-full">
<Spin :spinning="loadingPermissions" :classes="{ root: 'w-full' }">
<Tree
:tree-data="permissions"
multiple