This commit is contained in:
parent
53589c7ef8
commit
e8c33d831b
|
@ -619,8 +619,6 @@ onBeforeMount(() => {
|
||||||
// data.xxname = props.list.year;
|
// data.xxname = props.list.year;
|
||||||
data.list = props.list;
|
data.list = props.list;
|
||||||
setChart1()
|
setChart1()
|
||||||
// console.log(666,data.valueList,data.valueList2);
|
|
||||||
|
|
||||||
getOption();
|
getOption();
|
||||||
setChart();
|
setChart();
|
||||||
}, 800);
|
}, 800);
|
||||||
|
|
|
@ -312,30 +312,17 @@ watch(
|
||||||
(newVal, oldVal) => {
|
(newVal, oldVal) => {
|
||||||
data.list = newVal;
|
data.list = newVal;
|
||||||
data.month = props.month.map((item) => item + "月");
|
data.month = props.month.map((item) => item + "月");
|
||||||
// console.log("救助人1", data.list);
|
|
||||||
setChart1();
|
setChart1();
|
||||||
getOption();
|
getOption();
|
||||||
setChart();
|
setChart();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
// watch(
|
|
||||||
// () => props.list,
|
|
||||||
// (newVal, oldVal) => {
|
|
||||||
// data.list = newVal;
|
|
||||||
// // console.log("救助人1", data.list);
|
|
||||||
// // setChart1();
|
|
||||||
// // getOption();
|
|
||||||
// // setChart();
|
|
||||||
// }
|
|
||||||
// );
|
|
||||||
// 使用生命钩子
|
// 使用生命钩子
|
||||||
onBeforeMount(() => {
|
onBeforeMount(() => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
data.list = props.list;
|
data.list = props.list;
|
||||||
// data.month = props.month;
|
|
||||||
data.month = props.month.map((item) => item + "月");
|
data.month = props.month.map((item) => item + "月");
|
||||||
setChart1();
|
setChart1();
|
||||||
// console.log("失业", props.list, data.list1, data.list2);
|
|
||||||
getOption();
|
getOption();
|
||||||
setChart();
|
setChart();
|
||||||
}, 600);
|
}, 600);
|
||||||
|
|
|
@ -312,32 +312,17 @@ watch(
|
||||||
() => props.list,
|
() => props.list,
|
||||||
(newVal, oldVal) => {
|
(newVal, oldVal) => {
|
||||||
data.list = newVal;
|
data.list = newVal;
|
||||||
// data.month = props.month;
|
|
||||||
data.month = props.month.map((item) => item + "月");
|
data.month = props.month.map((item) => item + "月");
|
||||||
// console.log("救助人1", data.list);
|
|
||||||
// setChart1();
|
// setChart1();
|
||||||
getOption();
|
getOption();
|
||||||
setChart();
|
setChart();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
// watch(
|
|
||||||
// () => props.list,
|
|
||||||
// (newVal, oldVal) => {
|
|
||||||
// data.list = newVal;
|
|
||||||
// // console.log("救助人1", data.list);
|
|
||||||
// // setChart1();
|
|
||||||
// // getOption();
|
|
||||||
// // setChart();
|
|
||||||
// }
|
|
||||||
// );
|
|
||||||
// 使用生命钩子
|
// 使用生命钩子
|
||||||
onBeforeMount(() => {
|
onBeforeMount(() => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
data.list = props.list;
|
data.list = props.list;
|
||||||
// data.month = props.month;
|
|
||||||
data.month = props.month.map((item) => item + "月");
|
data.month = props.month.map((item) => item + "月");
|
||||||
// setChart1();
|
|
||||||
// console.log("失业", props.list);
|
|
||||||
getOption();
|
getOption();
|
||||||
setChart();
|
setChart();
|
||||||
}, 600);
|
}, 600);
|
||||||
|
|
Loading…
Reference in New Issue