* feat(dialog): the enter/esc keyboard event is supported * fix(dialog): the corresponding method is not executed when there is no button * chore(dialog): simplify implementation * fix: the wrong judgment
* feat(dialog): the enter/esc keyboard event is supported * fix(dialog): the corresponding method is not executed when there is no button * chore(dialog): simplify implementation * fix: the wrong judgment