Explorar el Código

非首次入驻 跳转bug

xinfeng hace 6 años
padre
commit
d880ad1fa1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      pages/kaifain/index.vue

+ 2 - 2
pages/kaifain/index.vue

@@ -223,8 +223,8 @@
           this.$refs.bindMobile.open()
           return
         }
-        //判断是否是首次入驻
-        if (Number(userinfo.has_attend_service_provider) === 0) {
+        //判断是否是首次入驻 非首次入驻 跳转到企业主页
+        if (Number(userinfo.has_attend_service_provider) !== 0) {
           location.href = "/wo/" + userinfo.uid
           return
         }