From bebeca442cee4b83de0d00df29a6514b3f723c4f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 28 七月 2021 13:41:06 +0800 Subject: [PATCH] 2021-07-28 --- 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