Hwt пре 2 година
родитељ
комит
a49635e6f1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      smart/src/components/common/Header.vue

+ 1 - 1
smart/src/components/common/Header.vue

@@ -174,7 +174,7 @@ export default {
     // 退出登录
     logOut () {
       var access_token = localStorage.getItem('CZC_token');
-      this.$http.postForm('/user-auth/user/logout', { access_token: access_token }).then(({ status, data, msg }) => {
+      this.$http.postForm('/czc-user-auth/user/logout', { access_token: access_token }).then(({ status, data, msg }) => {
         if (0 === status) {
           this.$message({
             type: 'success',