Style fix

This commit is contained in:
saplf
2019-09-08 22:44:17 +08:00
parent 49609c11c1
commit 7fae21f7ca
4 changed files with 9 additions and 14 deletions

View File

@@ -7,6 +7,7 @@ import React, { useEffect, useState } from 'react';
import { connect, DispatchProp } from 'dva';
import { Spin, Input, Select, message } from 'antd';
import { formatMessage } from 'umi-plugin-locale';
import _ from 'lodash';
import { QRCanvas } from 'qrcanvas-react';
import Clipboard from 'react-clipboard.js';
import { MineModelState } from './model';
@@ -56,7 +57,7 @@ const MinePage: React.FC<DispatchProp & MineModelState> = ({
<Option
key={it.id}
value={it.id}
>{it.label.toUpperCase()}</Option>
>{(_.take(it.label, 4).join('')).toUpperCase()}</Option>
))}
</Select>
</div>