提交 78153493 authored 作者: matian's avatar matian

updates

上级 cf908661
......@@ -6,7 +6,6 @@ const props = defineProps({
type: Array
}
})
console.log(props.pieList)
const echartsRef = ref()
onMounted(() => {
......
<script setup lang="ts">
const props = defineProps({
totalList: {
type: Array
}
})
const totalListMap = toRefs(props.totalList)
const props = defineProps<Props>()
interface ITotalList {
name: string
value: string
txt: string
icon: string
}
interface Props {
totalList: ITotalList[]
}
</script>
<template>
<div class="statistics-list">
<div class="item" v-for="(item, index) in totalListMap" :key="index">
<div class="item" v-for="(item, index) in props.totalList" :key="index">
<div class="item_desc">
<div class="tit">{{ item.name }}</div>
<div class="text">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论