Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: #106
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmao88 committed Sep 15, 2023
1 parent d418dbb commit 0a45bc1
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions apps/admin/src/pages/dashboard/analysis/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -437,17 +437,19 @@ setInterval(() => {
data1.push(Math.round(Math.random() * 1000))
categories1.shift()
categories1.push(axisData)
barChart.value.setOption({
xAxis: {
data: categories1,
},
series: [
{
name: '模拟数据',
data: data1,
barChart.value &&
barChart.value.setOption({
xAxis: {
data: categories1,
},
],
})
series: [
{
name: '模拟数据',
data: data1,
},
],
})
}, 2000)
const operatorData = ref([])
Expand Down

0 comments on commit 0a45bc1

Please sign in to comment.