mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 12:29:24 +08:00
Merge pull request #4181 from RickCole21/fix-popover
fix: 修复Popover弹框显示异常问题
This commit is contained in:
commit
6c89528e13
@ -214,7 +214,6 @@ export const HocPopOver =
|
||||
(popOver.mode === 'dialog' || popOver.mode === 'drawer')
|
||||
) {
|
||||
schema = {
|
||||
type: popOver.mode,
|
||||
actions: [
|
||||
{
|
||||
label: __('Dialog.close'),
|
||||
@ -222,7 +221,8 @@ export const HocPopOver =
|
||||
actionType: 'cancel'
|
||||
}
|
||||
],
|
||||
...popOver
|
||||
...popOver,
|
||||
type: popOver.mode
|
||||
};
|
||||
} else if (typeof popOver === 'string') {
|
||||
schema = {
|
||||
|
Loading…
Reference in New Issue
Block a user