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