fix(NumberKeyboard): flex not work on legacy safari (#6804)

This commit is contained in:
neverland
2020-07-16 22:56:20 +08:00
committed by GitHub
parent 5e0c7c8d47
commit aed8cd1ff2
5 changed files with 578 additions and 214 deletions
+4 -3
View File
@@ -78,8 +78,9 @@ export default createComponent({
render() {
return (
<div class={bem('wrapper', { wider: this.wider })}>
<button
type="button"
<div
role="button"
tabindex="0"
class={bem([
this.color,
{
@@ -90,7 +91,7 @@ export default createComponent({
])}
>
{this.genContent()}
</button>
</div>
</div>
);
},