From 422e566764decc740601a95118aa3a189ba7ffa6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 10 五月 2021 10:08:50 +0800 Subject: [PATCH] 2021-05-10 --- src/tabviews/home/index.jsx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/tabviews/home/index.jsx b/src/tabviews/home/index.jsx index 9505906..dfb3f7d 100644 --- a/src/tabviews/home/index.jsx +++ b/src/tabviews/home/index.jsx @@ -24,6 +24,11 @@ componentDidMount () { this.loadHomeConfig() + if (this.props.permMenus.length > 0 && JSON.stringify(this.props.permAction) !== '{}') { + this.setState({ + waiting: false + }) + } } UNSAFE_componentWillReceiveProps (nextProps) { -- Gitblit v1.8.0