weex icon indicating copy to clipboard operation
weex copied to clipboard

Tabbar 点击时,怎么重新加载页面或者怎么更新数据

Open coderminer opened this issue 9 years ago • 7 comments

Tabbar 每一个页面的内容只会加载一次,之后点击如何重新加载或者更新数据

coderminer avatar Mar 28 '17 01:03 coderminer

可以自定义一个标签,然后加上一个自定义事件

hanliuxin5 avatar Apr 13 '17 01:04 hanliuxin5

请问实现了吗

xutingqun avatar Nov 22 '17 08:11 xutingqun

@xutingqun 可以用广播机制,点击tabar发出制定广播,然后在其子vue实例里做你的业务处理

hanliuxin5 avatar Nov 22 '17 09:11 hanliuxin5

@hanliuxin5 有没有例子呀,新手菜鸟一枚,有点懵

xutingqun avatar Nov 23 '17 01:11 xutingqun

@xutingqun https://weex.apache.org/cn/references/modules/globalevent.html

hanliuxin5 avatar Nov 23 '17 03:11 hanliuxin5

This PR/issue doesn't received response since Weex migrated to Apache two years ago and this repository is no longer active yet.

Feel free to ask question in new repository and thanks for your contribution.

YorkShen avatar Feb 18 '19 11:02 YorkShen

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.

Hanks10100 avatar May 16 '21 10:05 Hanks10100