Commit f102e732d60715ae753c9b43f59690d24876f5a5
Merge branch 'sqy_dev' into 'main'
'fix:删除初始密码,转换脚本开发中...' See merge request huang/yun-teng-iot-front!123
Showing
4 changed files
with
8 additions
and
8 deletions
... | ... | @@ -51,7 +51,7 @@ |
51 | 51 | series: [ |
52 | 52 | { |
53 | 53 | name: '告警数', |
54 | - barMaxWidth: '4%', | |
54 | + barWidth: '10%', | |
55 | 55 | type: 'bar', |
56 | 56 | stack: 'Total', |
57 | 57 | data: props.alarmList, |
... | ... | @@ -94,7 +94,7 @@ |
94 | 94 | type: 'bar', |
95 | 95 | stack: 'Total', |
96 | 96 | color: '#3C78FF', |
97 | - barMaxWidth: '4%', | |
97 | + barWidth: '10%', | |
98 | 98 | data: newValue, |
99 | 99 | }, |
100 | 100 | ], | ... | ... |
... | ... | @@ -66,14 +66,14 @@ |
66 | 66 | type: 'bar', |
67 | 67 | stack: 'total', |
68 | 68 | data: newValue, |
69 | - barMaxWidth: '4%', | |
69 | + barWidth: '10%', | |
70 | 70 | color: '#5AEEED', |
71 | 71 | }, |
72 | 72 | { |
73 | 73 | name: '传输消息量', |
74 | 74 | type: 'bar', |
75 | 75 | stack: 'total', |
76 | - barMaxWidth: '4%', | |
76 | + barWidth: '10%', | |
77 | 77 | data: newValue1, |
78 | 78 | color: '#3C78FF', |
79 | 79 | }, | ... | ... |
... | ... | @@ -143,7 +143,7 @@ |
143 | 143 | }); |
144 | 144 | } |
145 | 145 | |
146 | - const tenantAdminColumns = [ | |
146 | + const tenantAdminColumns: BasicColumn[] = [ | |
147 | 147 | { |
148 | 148 | title: '用户名', |
149 | 149 | dataIndex: 'username', |
... | ... | @@ -173,7 +173,7 @@ |
173 | 173 | ]; |
174 | 174 | const [tenantAdminTable, { reload }] = useTable({ |
175 | 175 | api: getTenantAdminPage, |
176 | - columns: tenantAdminColumns as BasicColumn[], | |
176 | + columns: tenantAdminColumns, | |
177 | 177 | showTableSetting: true, |
178 | 178 | bordered: true, |
179 | 179 | showIndexColumn: false, | ... | ... |