From 5ff23c882da8bd2dca0848ae1a97d23f6bfecd9d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 27 六月 2021 23:10:07 +0800 Subject: [PATCH] 2021-06-27 --- 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