Commit 4e380b33 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

change lib to es

parent 3d3b5ad4
......@@ -64,7 +64,7 @@ export default (config: any) => {
// {
// antDir: path.join(__dirname, '../node_modules/antd'),
// stylesDir,
// varFile: path.join(__dirname, '../node_modules/antd/lib/style/themes/default.less'),
// varFile: path.join(__dirname, '../node_modules/antd/es/style/themes/default.less'),
// mainLessFile: outFile, // themeVariables: ['@primary-color'],
// indexFileName: 'index.html',
// generateOne: true,
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.globalFooter {
margin: 48px 0 24px 0;
......
import React from 'react';
import { Avatar, Menu, Spin, Icon } from 'antd';
import { FormattedMessage } from 'umi-plugin-react/locale';
import { ClickParam } from 'antd/lib/menu';
import { ClickParam } from 'antd/es/menu';
import { ConnectProps, ConnectState } from '@/models/connect';
import { CurrentUser } from '@/models/user';
import { connect } from 'dva';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
@pro-header-hover-bg: rgba(0, 0, 0, 0.025);
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.container > * {
background-color: #fff;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.headerSearch {
:global(.anticon-search) {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.list {
max-height: 400px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.popover {
position: relative;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.menu {
:global(.anticon) {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
html,
body,
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.container {
display: flex;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment