diff --git a/src/main.js b/src/main.js index a24a2ba..bc7f0d2 100644 --- a/src/main.js +++ b/src/main.js @@ -33,6 +33,9 @@ Vue.mixin({ }, }, methods: { + css_var(var_name) { + return getComputedStyle(document.documentElement).getPropertyValue(var_name); + }, auth_expired(error = null) { sessionStorage.removeItem(this.storage_key.token); window.location.hash = ``;