This commit is contained in:
duanxiaohai 2024-10-24 15:14:27 +08:00
parent 53589c7ef8
commit e8c33d831b
3 changed files with 0 additions and 30 deletions

View File

@ -619,8 +619,6 @@ onBeforeMount(() => {
// data.xxname = props.list.year;
data.list = props.list;
setChart1()
// console.log(666,data.valueList,data.valueList2);
getOption();
setChart();
}, 800);

View File

@ -312,30 +312,17 @@ watch(
(newVal, oldVal) => {
data.list = newVal;
data.month = props.month.map((item) => item + "月");
// console.log("1", data.list);
setChart1();
getOption();
setChart();
}
);
// watch(
// () => props.list,
// (newVal, oldVal) => {
// data.list = newVal;
// // console.log("1", data.list);
// // setChart1();
// // getOption();
// // setChart();
// }
// );
// 使
onBeforeMount(() => {
setTimeout(() => {
data.list = props.list;
// data.month = props.month;
data.month = props.month.map((item) => item + "月");
setChart1();
// console.log("", props.list, data.list1, data.list2);
getOption();
setChart();
}, 600);

View File

@ -312,32 +312,17 @@ watch(
() => props.list,
(newVal, oldVal) => {
data.list = newVal;
// data.month = props.month;
data.month = props.month.map((item) => item + "月");
// console.log("1", data.list);
// setChart1();
getOption();
setChart();
}
);
// watch(
// () => props.list,
// (newVal, oldVal) => {
// data.list = newVal;
// // console.log("1", data.list);
// // setChart1();
// // getOption();
// // setChart();
// }
// );
// 使
onBeforeMount(() => {
setTimeout(() => {
data.list = props.list;
// data.month = props.month;
data.month = props.month.map((item) => item + "月");
// setChart1();
// console.log("", props.list);
getOption();
setChart();
}, 600);