Adjust Connection Status panel, stop updating when the connection is closed

This commit is contained in:
NI
2019-10-01 15:45:28 +08:00
parent b50946d8cd
commit 5e32228960
3 changed files with 31 additions and 11 deletions

View File

@@ -180,6 +180,10 @@ export default {
);
},
mSecondString(n) {
if (n < 0) {
return "??";
}
const bNames = ["ms", "s", "m"];
let remain = n,
nUnit = bNames[0];