fix: 兼容AUI的折叠面板的点击行为 (#4271)

This commit is contained in:
申君健 2026-07-29 15:01:13 +08:00 committed by GitHub
parent 52eb2bd06e
commit 61e36078c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -3,5 +3,13 @@ import { iconWarning } from '@opentiny/vue-icon'
export default {
icons: {
warning: iconWarning()
},
renderless: (props, hooks, { emit }, api) => {
const state = api.state
return {
// AUI的场景不允许点击header容器点击折叠 只能点击title才折叠。所以屏蔽header容器点击
handleHeaderContainerClick: () => {}
}
}
}