Compare commits

..

No commits in common. "9ebafccc2fccbf645305b505a3cc91adb13c9499" and "9953d500e3f2aeea0927ff08527c4450a1dc5f2c" have entirely different histories.

3 changed files with 0 additions and 10 deletions

View File

@ -12,32 +12,26 @@ import { onMounted, ref } from "vue";
const barChartRef = ref(null);
const { categories, seriesData, title, legendList } = defineProps({
//
categories: {
type: Array,
required: true,
},
//
seriesData: {
type: Array,
required: true,
},
//
title: {
type: String,
required: true,
},
//
legendList: {
type: Array,
required: true,
},
//
width: {
type: String,
default: "100%",
},
//
height: {
type: String,
default: "100%",

View File

@ -14,12 +14,10 @@ import { onMounted, ref } from "vue";
const lineChartRef = ref(null);
const { categories, seriesData, titleP, legendList } = defineProps({
//
categories: {
type: Array,
required: true,
},
//
seriesData: {
type: Array,
required: true,
@ -28,7 +26,6 @@ const { categories, seriesData, titleP, legendList } = defineProps({
type: String,
default: "示例折线图",
},
//
legendList: {
type: Array,
required: true,

View File

@ -12,7 +12,6 @@ import { onMounted, ref } from "vue";
const pieChartRef = ref(null);
const { titleP, dataP } = defineProps({
//
dataP: {
type: Array,
default: () => [],