From d59f518f466274b2caeb2e01c10c92deafe7c93b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 09 二月 2022 11:48:29 +0800 Subject: [PATCH] 2022-02-09 --- 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