diff --git a/packages/omim/docs/src/elements/my-demo/index.js b/packages/omim/docs/src/elements/my-demo/index.js index 724140672..29178a428 100644 --- a/packages/omim/docs/src/elements/my-demo/index.js +++ b/packages/omim/docs/src/elements/my-demo/index.js @@ -31,6 +31,7 @@ define('my-demo', class extends WeElement { render() { if (!this.demo) return + // iframe 加上 display 的原因是 visibility hidden 在 ios 下不会隐藏的bug return (