全局变量销毁时还原
This commit is contained in:
@@ -244,6 +244,7 @@ export default function useWS() {
|
||||
userActivityReset();
|
||||
upfTotalFlowReset();
|
||||
topologyReset();
|
||||
upfWhoRmUid.value='';
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
@@ -25,7 +25,7 @@ import {
|
||||
upfTFActive,
|
||||
upfTotalFlowReset,
|
||||
} from './hooks/useUPFTotalFlow';
|
||||
import { upfWhoId, upfWhoRmUid } from './hooks/useWS';
|
||||
import { upfWhoId } from './hooks/useWS';
|
||||
|
||||
import { useFullscreen } from '@vueuse/core';
|
||||
import useWS from './hooks/useWS';
|
||||
@@ -414,6 +414,8 @@ onBeforeUnmount(() => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="column" style="flex: 4; margin: 1.333rem 0.833rem 0">
|
||||
<!-- 实时流量 -->
|
||||
|
||||
Reference in New Issue
Block a user