Remove coin type limitation

This commit is contained in:
saplf
2019-09-09 14:08:17 +08:00
parent 3e7ffa787a
commit 5c324a7863
2 changed files with 2 additions and 4 deletions

View File

@@ -7,7 +7,6 @@ import React, { useEffect } from 'react';
import { connect, DispatchProp } from 'dva';
import { Spin, Input, Select, Icon, Button, message, Modal } from 'antd';
import { formatMessage } from 'umi-plugin-locale';
import _ from 'lodash';
import { DrawModelState } from './model';
import { PageState } from '@/types/common';
import Header from '@/components/Header';
@@ -100,7 +99,7 @@ const DrawPage: React.FC<DispatchProp & DrawModelState> = ({
<Option
key={it.id}
value={it.id}
>{(_.take(it.label, 4).join('')).toUpperCase()}</Option>
>{(it.label || '').toUpperCase()}</Option>
))}
</Select>
</div>

View File

@@ -7,7 +7,6 @@ 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';
@@ -57,7 +56,7 @@ const MinePage: React.FC<DispatchProp & MineModelState> = ({
<Option
key={it.id}
value={it.id}
>{(_.take(it.label, 4).join('')).toUpperCase()}</Option>
>{(it.label || '').toUpperCase()}</Option>
))}
</Select>
</div>