jd-opensource / jd-opensource/taro-ui
AtMessage在每个页面都添加的话, 在后面页面加载后, 之前页面的atmessage会失效
Open
- Dominant language
- TypeScript
- Stars
- 4.7k
- Forks
- 740
- PR merge metrics
- No merged PRs in 30d
Description
我在每个页面都添加了
在切换tab或者导航之后, 之前页面的atmessage会失效
用的是小程序自带的Tabbar
如果我在app.js下添加, 不会显示
`app.js`
```js
render() {
return (
{this.props.children}
);
}
```
请问下atmessage的最佳实践应该是怎样的呢 ?
版本信息
`Taro v3.0.2`
`Taro-ui v3.0.0.alpha.3
`
Contributor guide
Assessment
This issue has not been assessed yet.