Commit b920652c by haojie

1

parent bd05ba89
......@@ -211,6 +211,11 @@ onBeforeUnmount(() => {
if (Interval) {
clearInterval(Interval);
}
// 销毁k线
if (datafeed) {
datafeed.clearIntervalGetBars();
datafeed = null;
}
});
const getKLine = (tb) => {
if (!symbol.value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment