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',