wuhongyu 5 年之前
父節點
當前提交
7827aeaafc
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/views/enterprise/xiugai.vue

+ 6 - 1
src/views/enterprise/xiugai.vue

@@ -72,11 +72,16 @@ export default {
           message: '密码修改成功',
           type: 'success',
         });
-        this.$router.push({ path: '/login' });
+        this.logout();
+        this.toxiugai();
       } else {
         this.$message.error('密码修改失败');
       }
     },
+
+    async toxiugai() {
+      this.$router.push({ path: '/platlive' });
+    },
   },
 };
 </script>