Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New site #40

Merged
merged 64 commits into from
Jan 7, 2022
Merged
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
835fb89
feat: change to new UI
xsteadybcgo Aug 13, 2021
73a981e
fix: 接口数据调整
xsteadybcgo Aug 17, 2021
a7b7dfe
fix: remove mock
xsteadybcgo Aug 17, 2021
2b93db6
fix: pagination bug
xsteadybcgo Aug 17, 2021
c68a291
chang pre-prod config
xsteadybcgo Aug 17, 2021
1bc725c
fix: add api prefix
xsteadybcgo Aug 17, 2021
b16220e
fix API_DOMAIN
xsteadybcgo Aug 17, 2021
edfa652
fix: api error fixed
xsteadybcgo Aug 18, 2021
8f22450
fix: remove mock
xsteadybcgo Aug 18, 2021
fc9ec2d
fix: homepage statics
xsteadybcgo Aug 18, 2021
90c3f90
fix: chart style
xsteadybcgo Aug 18, 2021
bc54c54
fix: 正则校验
xsteadybcgo Aug 19, 2021
09fd201
fix: remove some log
xsteadybcgo Aug 19, 2021
7a36618
fix: userId type
xsteadybcgo Aug 19, 2021
5e37f8c
fix: fetch error
xsteadybcgo Aug 22, 2021
d5842ac
fix: head style
xsteadybcgo Aug 22, 2021
94b222b
fix: 接口请求修改
xsteadybcgo Aug 23, 2021
bb78d14
fix: echart config
xsteadybcgo Aug 24, 2021
5447d1b
fix: pagination
xsteadybcgo Aug 24, 2021
8a20c79
fix: init page
xsteadybcgo Aug 24, 2021
815c60e
fix: tabs data update
xsteadybcgo Aug 24, 2021
f6a46ea
fix: unit of bandwidth
xsteadybcgo Aug 25, 2021
26e2c39
fix: delay value & chart style
xsteadybcgo Aug 25, 2021
caf7827
fix: method call chart yAsix
xsteadybcgo Aug 25, 2021
0de5fcc
fix: format bandwidth
xsteadybcgo Aug 25, 2021
3fb9ad6
fix: location state
xsteadybcgo Aug 25, 2021
81d552f
fix: domain to v2
xsteadybcgo Aug 26, 2021
d6ead37
fix: rename icon name
xsteadybcgo Aug 26, 2021
d78d0ee
fix: unit error
xsteadybcgo Aug 27, 2021
30af3db
fix: method chart uint
xsteadybcgo Aug 27, 2021
e045a26
fix: del project error
xsteadybcgo Aug 27, 2021
b2d2e86
fix: prevent duplicated submissions
xsteadybcgo Aug 27, 2021
d3bf474
fix: ui review
xsteadybcgo Aug 31, 2021
72a81e7
timer
xsteadybcgo Aug 31, 2021
3f38415
fix: review ui
xsteadybcgo Sep 1, 2021
bce8e6c
fix: review ui
xsteadybcgo Sep 2, 2021
7af988e
fix: redirect to login
xsteadybcgo Sep 2, 2021
617e4d7
fix: review ui
xsteadybcgo Sep 3, 2021
99a367f
fix: config
xsteadybcgo Sep 3, 2021
65f84bb
fix: echart style
xsteadybcgo Sep 3, 2021
7994b42
fix: remove useless value
xsteadybcgo Sep 3, 2021
cc95130
fix: add tooltip
xsteadybcgo Sep 3, 2021
26be0c5
fix: formatSize number less than 1
xsteadybcgo Sep 3, 2021
2f0562d
fix: style
xsteadybcgo Sep 3, 2021
d8181c0
fix: i18n
xsteadybcgo Sep 3, 2021
9aeedbf
fix: font-size
xsteadybcgo Sep 6, 2021
f5d9e19
hotfix: number
xsteadybcgo Sep 6, 2021
5040108
fix: domain
xsteadybcgo Sep 6, 2021
0b05427
fix: update public limit api
xsteadybcgo Sep 6, 2021
2b95182
fix: images
xsteadybcgo Sep 6, 2021
4d2eb62
fix: image
xsteadybcgo Sep 6, 2021
e874527
fix: images
xsteadybcgo Sep 6, 2021
2964989
feat: add hz env
xsteadybcgo Sep 7, 2021
39e4f35
feat: replace loading component
xsteadybcgo Sep 7, 2021
090cdc9
fix: data rollback
xsteadybcgo Sep 8, 2021
98d0755
fix: remove updatePageData effect
xsteadybcgo Sep 8, 2021
6aa0f94
fix: delete project
xsteadybcgo Sep 10, 2021
66c76ad
fix: refresh data
xsteadybcgo Sep 22, 2021
868d76f
fix: update discord link
xsteadybcgo Nov 3, 2021
13c248e
feat: add shell point
xsteadybcgo Nov 8, 2021
bf45087
fix: update icon name
xsteadybcgo Nov 24, 2021
6e0dd96
fix: update readme
xsteadybcgo Jan 5, 2022
bff3762
feat: new design
xsteadybcgo Jan 7, 2022
5950d59
update README
xsteadybcgo Jan 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: method chart uint
  • Loading branch information
xsteadybcgo committed Aug 27, 2021
commit 30af3db2bd85d75617ae557b94e127431ec31f74
6 changes: 3 additions & 3 deletions src/pages/Projects/CallMethodChart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const CallMethodChart: FC<{ chain: string; pid: string }> = ({
formatter: function (param: any) {
if (chartType === 'bandwidth') {
return `${param[0].axisValue} <br/> ${formatBandwidth(
param[0].data.value
param[0].data.value * 1000
)}`
} else {
return `${param[0].axisValue} <br/> ${param[0].data.value}`
Expand Down Expand Up @@ -103,7 +103,7 @@ const CallMethodChart: FC<{ chain: string; pid: string }> = ({
.reverse()
.map((i, idx) => {
return {
value: i.value,
value: chartType === 'bandwidth' ? i.value / 1000 : i.value,
itemStyle: {
color: `rgba(20,176,113, ${(idx + 1) * 0.3})`,
borderRadius: [0, 20, 20, 0],
Expand All @@ -119,7 +119,7 @@ const CallMethodChart: FC<{ chain: string; pid: string }> = ({
formatter: function (params: any) {
const val = params.data.value
if (chartType === 'bandwidth') {
return formatBandwidth(val)
return formatBandwidth(val*1000)
} else {
return val
}
Expand Down