|
@@ -3,7 +3,6 @@ import { Form, Input, Button, Icon, Select, message, Table, Divider, Tag, Pagina
|
3
|
3
|
import { FormattedMessage } from 'umi-plugin-react/locale';
|
4
|
4
|
import router from 'umi/router';
|
5
|
5
|
import moment from 'moment';
|
6
|
|
-import QRCode from 'qrcodejs2'
|
7
|
6
|
import styles from '../style/GoodsList.less';
|
8
|
7
|
import SelectCity from '../../components/SelectButton/CitySelect'
|
9
|
8
|
import BuildSelect from '../../components/SelectButton/BuildSelect'
|
|
@@ -59,21 +58,6 @@ const header = props => {
|
59
|
58
|
}
|
60
|
59
|
|
61
|
60
|
|
62
|
|
- function download (data) {
|
63
|
|
- if (!data) {
|
64
|
|
- return
|
65
|
|
- }
|
66
|
|
-
|
67
|
|
- const url = URL.createObjectURL(data)
|
68
|
|
- const link = document.createElement('a')
|
69
|
|
- link.style.display = 'none'
|
70
|
|
- link.href = url
|
71
|
|
- link.setAttribute('download', '活动二维码.png')
|
72
|
|
- document.body.append(link)
|
73
|
|
- link.click()
|
74
|
|
- }
|
75
|
|
-
|
76
|
|
-
|
77
|
61
|
/**
|
78
|
62
|
*
|
79
|
63
|
*
|