YiHao Xie

Results 4 issues of YiHao Xie

https://eggjs.org/zh-cn/advanced/view-plugin.html

https://eggjs.org/zh-cn/advanced/view-plugin.html

场景:查接口前显示loading,查完后隐藏loading。 ``` Toast.loading(lang.ToastText.loading, 0); this.getMessageList(pageType) .then((data) => { Toast.hideToast(); const { list } = data; this.setState({ pageState: 'normal', messageList: list }); }) .catch((err) => { Toast.error(err.message); this.setState({ pageState: 'error', messageList:...