|
@@ -15,7 +15,7 @@
|
|
|
</lay-select>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="operator_wp">
|
|
|
+ <div class="operator_wp" v-show="false">
|
|
|
<lay-space>
|
|
|
<div class="item_wp">
|
|
|
<div class="label">自动刷新</div>
|
|
@@ -48,7 +48,7 @@ let selectedExchangeList = ref<Array<string>>([]);
|
|
|
|
|
|
let symbolList = ref<Array<string>>([]);
|
|
|
let selectedSymbol = ref();
|
|
|
-let isUpdate = ref(true);
|
|
|
+let isUpdate = ref(false);
|
|
|
|
|
|
interface SymbolInfo {
|
|
|
exchange: String;
|
|
@@ -280,7 +280,7 @@ const initChart = (data: any) => {
|
|
|
if (times.value.length <= 0 || !isUpdate.value) return;
|
|
|
timer.value = setInterval(() => {
|
|
|
getIncrementalDepth();
|
|
|
- }, 1000);
|
|
|
+ }, 5000);
|
|
|
};
|
|
|
onUnmounted(() => {
|
|
|
window.removeEventListener("resize", myChart.value.resize());
|