From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 一月 2022 17:21:25 +0800 Subject: [PATCH] 2022-01-21 --- src/utils/asyncIconComponent.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/asyncIconComponent.jsx b/src/utils/asyncIconComponent.jsx index 7d89b29..5fe6c82 100644 --- a/src/utils/asyncIconComponent.jsx +++ b/src/utils/asyncIconComponent.jsx @@ -1,5 +1,5 @@ import React, {Component} from 'react' -import { Icon } from 'antd' +import { LoadingOutlined } from '@ant-design/icons' /** * @description 寮傛鍔犺浇妯″潡 @@ -24,7 +24,7 @@ render() { const C = this.state.component - return C ? <C {...this.props} /> : <Icon type="loading" /> + return C ? <C {...this.props} /> : <LoadingOutlined /> } } } \ No newline at end of file -- Gitblit v1.8.0