mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-10 08:57:10 +08:00
style: 优化分析页数据总览代码
This commit is contained in:
@@ -75,6 +75,7 @@ const { chartOption } = useChart((isDark: EChartsOption) => {
|
||||
data: chartData.value,
|
||||
type: 'line',
|
||||
showSymbol: false,
|
||||
smooth: true,
|
||||
lineStyle: {
|
||||
color: '#246EFF',
|
||||
width: 2,
|
||||
@@ -93,7 +94,7 @@ const getChartData = async () => {
|
||||
xAxis.value = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
|
||||
count.value = 88888
|
||||
growth.value = 88.8
|
||||
chartData.value = [10, 2, 4, 30, 21, 6, 7, 8, 1, 2, 3, 10]
|
||||
chartData.value = [4, 5, 6, 2, 3, 4, 25, 21, 6, 7, 8, 1]
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
@@ -21,10 +21,10 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import Pv from './flow/Pv.vue'
|
||||
import Ip from './flow/Ip.vue'
|
||||
import Demo1 from './flow/Demo1.vue'
|
||||
import Demo2 from './flow/Demo2.vue'
|
||||
import Pv from './Pv.vue'
|
||||
import Ip from './Ip.vue'
|
||||
import Demo1 from './Demo1.vue'
|
||||
import Demo2 from './Demo2.vue'
|
||||
</script>
|
||||
|
||||
<style scoped lang="less"></style>
|
@@ -30,7 +30,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import DataOverview from './components/DataOverview.vue'
|
||||
import DataOverview from './components/DataOverview/index.vue'
|
||||
import AccessTrend from './components/AccessTrend.vue'
|
||||
import Os from './components/Os.vue'
|
||||
import Browser from './components/Browser.vue'
|
||||
|
Reference in New Issue
Block a user