上传网速检测修改
parent
e517556808
commit
8ad50b5618
|
@ -13,6 +13,8 @@ let timer = null, // 网速定时器
|
||||||
export function AWSclose() {
|
export function AWSclose() {
|
||||||
if (timer) {
|
if (timer) {
|
||||||
clearInterval(timer);
|
clearInterval(timer);
|
||||||
|
timer = null;
|
||||||
|
store.state.trials.uploadTip = '0kb/s'
|
||||||
}
|
}
|
||||||
bytesReceivedPerSecond = {};
|
bytesReceivedPerSecond = {};
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,8 @@ let savaData = {},
|
||||||
export function OSSclose() {
|
export function OSSclose() {
|
||||||
if (timer) {
|
if (timer) {
|
||||||
clearInterval(timer);
|
clearInterval(timer);
|
||||||
|
timer = null;
|
||||||
|
store.state.trials.uploadTip = '0kb/s'
|
||||||
}
|
}
|
||||||
bytesReceivedPerSecond = {};
|
bytesReceivedPerSecond = {};
|
||||||
savaData = {};
|
savaData = {};
|
||||||
|
|
Loading…
Reference in New Issue