dssff
This commit is contained in:
parent
d2257bdf30
commit
96f78218d6
@ -34,6 +34,8 @@ Page({
|
|||||||
weightData: [],
|
weightData: [],
|
||||||
heightChart: null,
|
heightChart: null,
|
||||||
weightChart: null,
|
weightChart: null,
|
||||||
|
directChart: null,
|
||||||
|
indirectChart: null,
|
||||||
carList: [],
|
carList: [],
|
||||||
carLength: 0,
|
carLength: 0,
|
||||||
userInfo: {},
|
userInfo: {},
|
||||||
@ -145,6 +147,14 @@ Page({
|
|||||||
this.weightChart.dispose();
|
this.weightChart.dispose();
|
||||||
this.weightChart = null;
|
this.weightChart = null;
|
||||||
}
|
}
|
||||||
|
if (this.directChart) {
|
||||||
|
this.directChart.dispose();
|
||||||
|
this.directChart = null;
|
||||||
|
}
|
||||||
|
if (this.indirectChart) {
|
||||||
|
this.indirectChart.dispose();
|
||||||
|
this.indirectChart = null;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// 初始化身高图表
|
// 初始化身高图表
|
||||||
@ -318,6 +328,7 @@ Page({
|
|||||||
|
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
this.directChart = chart;
|
||||||
return chart;
|
return chart;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -353,6 +364,7 @@ Page({
|
|||||||
|
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
this.indirectChart = chart;
|
||||||
return chart;
|
return chart;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user