wuhongyu 5 年之前
父節點
當前提交
de31614d67
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/market/index.vue

+ 3 - 0
src/views/market/index.vue

@@ -247,6 +247,9 @@ export default {
     fabu() {
       if (this.user.role == '2' || this.user.role == '3') {
         this.$router.push({ path: '/enterprise/enterprisexuqiu' });
+      } else if (this.user.uid == undefined) {
+        this.$router.push({ path: '/login' });
+      } else {
       }
     },
     toChat(data) {