|
@@ -80,9 +80,7 @@ export default {
|
|
// 个人中心
|
|
// 个人中心
|
|
centerLogin() {
|
|
centerLogin() {
|
|
let data = this.user;
|
|
let data = this.user;
|
|
- console.log(data);
|
|
|
|
if (data.code) {
|
|
if (data.code) {
|
|
- console.log('1');
|
|
|
|
this.$router.push({ path: '/userCenter' });
|
|
this.$router.push({ path: '/userCenter' });
|
|
} else if (data.room_id) {
|
|
} else if (data.room_id) {
|
|
let num = data.room_id.substr(0, 1);
|
|
let num = data.room_id.substr(0, 1);
|