|
@@ -64,13 +64,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <div
|
|
|
+ <!-- <div
|
|
|
v-if="sysDataType === 'all'"
|
|
|
:class="{ 'realtime-mode': isDataRealTime }"
|
|
|
alt="切换数据模式"
|
|
|
class="switch-button report-mode right-525px"
|
|
|
@click="switchDataMode"
|
|
|
- ></div>
|
|
|
+ ></div> -->
|
|
|
<div class="switch-button icon-goto right-475px" @click="goMicroApp()"></div>
|
|
|
</template>
|
|
|
</div>
|
|
@@ -99,10 +99,10 @@
|
|
|
// const showBar = ref(true);
|
|
|
let interval: number | undefined;
|
|
|
|
|
|
- function switchDataMode() {
|
|
|
- isDataRealTime.value = !isDataRealTime.value;
|
|
|
- refresh();
|
|
|
- }
|
|
|
+ // function switchDataMode() {
|
|
|
+ // isDataRealTime.value = !isDataRealTime.value;
|
|
|
+ // refresh();
|
|
|
+ // }
|
|
|
|
|
|
function refresh() {
|
|
|
fetchConfigs(isDataRealTime.value ? 'vent_realtime' : 'vent').then(() => {
|