diff --git a/src/views/home/expert/index.vue b/src/views/home/expert/index.vue
index aa4417f..c8a0f91 100644
--- a/src/views/home/expert/index.vue
+++ b/src/views/home/expert/index.vue
@@ -243,7 +243,7 @@
// 向TA提问
toAsk(id) {
- if (this.consult_amount == 1) {
+ if (this.consult_amount >= 1) {
this.$router.push({
path: '/expert/ask',
name: 'expert-ask',
diff --git a/src/views/home/start/index.vue b/src/views/home/start/index.vue
index 3fd6edb..3df39ee 100644
--- a/src/views/home/start/index.vue
+++ b/src/views/home/start/index.vue
@@ -21,7 +21,8 @@
this.timeNumber = 1;
}, 2000);
setTimeout(() => {
- this.$router.replace("/index");
+ this.$router.replace("/login");
+
}, 3000);
},
created() {
diff --git a/src/views/login/verification.vue b/src/views/login/verification.vue
index 2cc2787..c547c2f 100644
--- a/src/views/login/verification.vue
+++ b/src/views/login/verification.vue
@@ -84,10 +84,7 @@
computed: {},
methods: {
getUserData() {
- let that = this;
this.axios.post(this.HOME + "/api/user/center-info").then(function(res) {
- console.log(res.data.data,1234)
- that.userType = res.data.data.type;
localStorage.centerUserData = JSON.stringify(res.data.data);
});
},
@@ -118,7 +115,8 @@
// 跳转页面
goPages(){
- console.log(this.userType,252525)
+ this.userType = (JSON.parse(localStorage.getItem("centerUserData"))).type;
+ console.log(this.userType,2525)
if(this.userType == 1){
this.$router.push({
path: "/consultant",