摘要:
一、当你使用import { Button } from 'antd';这种方式引入组件的时候,没有做处理的时候,会加载antd下的所有模块,影响应用程序的网络性能。 二、可以使用使用import Button from 'antd/es/button'; import 'antd/es/butto 阅读全文
posted @ 2019-11-15 14:08
浅浅一笑~
阅读(264)
评论(0)
推荐(0)