Allow unused vars in args and fix more eslint issues

This commit is contained in:
Louis Lam
2022-04-17 01:39:49 +08:00
parent 2e3414135f
commit 8d8c38b1a8
17 changed files with 52 additions and 66 deletions

View File

@@ -1,6 +1,6 @@
import { io } from "socket.io-client";
import { useToast } from "vue-toastification";
import jwt_decode from "jwt-decode";
import jwtDecode from "jwt-decode";
import Favico from "favico.js";
const toast = useToast();
@@ -266,7 +266,7 @@ export default {
const jwtToken = this.$root.storage().token;
if (jwtToken && jwtToken !== "autoLogin") {
return jwt_decode(jwtToken);
return jwtDecode(jwtToken);
}
return undefined;
},