【发布时间】:2019-02-21 06:32:27
【问题描述】:
我们如何实现页面加载器? 谁能给我详细的代码...
<ActivityIndicator :busy="showLogin" :visibility="showLogin ? 'visible' : 'collapse'" height="50" width="50"/>
this.showLogin = this.showLogin==false?true:false;
【问题讨论】:
-
页面加载器是什么意思?
-
与服务器交互时,显示loader。
-
仅供参考
?true:false是多余的,this.showLogin = this.showLogin==false就足够了,因为(this.showLogin == false)返回 true 或 false
标签: nativescript nativescript-vue