Add css_var back to the mixin
This commit is contained in:
parent
58a1f46bcd
commit
497efe36ff
1 changed files with 3 additions and 0 deletions
|
|
@ -33,6 +33,9 @@ Vue.mixin({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
css_var(var_name) {
|
||||||
|
return getComputedStyle(document.documentElement).getPropertyValue(var_name);
|
||||||
|
},
|
||||||
auth_expired(error = null) {
|
auth_expired(error = null) {
|
||||||
sessionStorage.removeItem(this.storage_key.token);
|
sessionStorage.removeItem(this.storage_key.token);
|
||||||
window.location.hash = ``;
|
window.location.hash = ``;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue