no message
Former-commit-id: c856a3e75192e2a61101064b154f2c53d30291ab Former-commit-id: 6c985463dcbced4126ffb6e262ce4cbf6a722989 Former-commit-id: b3908b9c67b3bc1bf34ccb9be42b3abbead4be88
This commit is contained in:
@@ -36,11 +36,8 @@ Mock.mock('/api/chart/G2Line', 'post', ({body, type, url}) => {
|
|||||||
const month = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
|
const month = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
|
||||||
const data = month.map(e => ({
|
const data = month.map(e => ({
|
||||||
month: e,
|
month: e,
|
||||||
value: 0
|
value: r()
|
||||||
})).map(e => {
|
})).map(e => ({
|
||||||
e.value = r()
|
|
||||||
return e
|
|
||||||
}).map(e => ({
|
|
||||||
x: e.month,
|
x: e.month,
|
||||||
y: e.value
|
y: e.value
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user