q
Surpriseplus
2022-11-18 7d61b69bddd80698cbc9d3773a52738bf0adffcd
src/components/navMenu.vue
@@ -128,7 +128,7 @@
      })
        .then(async () => {
          const data = await logout({ token: getToken() });
          // console.log(data);
          console.log(data);
          if (data.code != 200) {
            return this.$message.error('退出登录失败');
          }
@@ -164,7 +164,7 @@
      }
    },
    handleselect(index, indexPath, e) {
      // console.log(e.$attrs.perms);
      console.log(e.$attrs.perms);
      this.$store.commit('currentPerms', e.$attrs.perms.perms);
      if (Window.ws != null) {
        Window.ws.close();