提交 d9ee8a59 编写于 作者: DCloud-yyl's avatar DCloud-yyl

调整示例避免ios平台空页面不触发onReady的问题

(cherry picked from commit ee78f5fd)
上级 ea77e56e
...@@ -19,7 +19,12 @@ ...@@ -19,7 +19,12 @@
isStart: false, isStart: false,
buttonValue: "开启图片旋转", buttonValue: "开启图片旋转",
onTransitionEndTriggr: false, onTransitionEndTriggr: false,
isShow: false // #ifdef APP-ANDROID
isShow: false,
// #endif
// #ifndef APP-ANDROID
isShow: true,
// #endif
} }
}, },
onReady() { onReady() {
...@@ -32,9 +37,6 @@ ...@@ -32,9 +37,6 @@
} }
new Thread(new ThreadRunnable()).start() new Thread(new ThreadRunnable()).start()
// #endif // #endif
// #ifndef APP-ANDROID
this.isShow = true
// #endif
}, },
methods: { methods: {
switchBtn() { switchBtn() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册