|
@@ -47,9 +47,13 @@ export default {
|
|
|
_this.gettime = yy + '-' + mm + '-' + dd + ' ' + weekday[day];
|
|
|
},
|
|
|
loginBtn() {
|
|
|
- this.$router.push({ path: '/login' });
|
|
|
+ window.location.href = 'http://free.liaoningdoupo.com/platlogin/';
|
|
|
+ },
|
|
|
+ toLogOut() {
|
|
|
+ localStorage.removeItem('token');
|
|
|
+ this.logout();
|
|
|
+ window.location.href = 'http://free.liaoningdoupo.com/platlogin/';
|
|
|
},
|
|
|
- toLogOut() {},
|
|
|
},
|
|
|
};
|
|
|
</script>
|