zhengyiming
3 天以前 a41010b847e0bf7475f7cbb26070913b7280eb75
apps/cMiniApp/src/stores/modules/user.ts
@@ -152,6 +152,7 @@
      try {
        this.setUserInfoAction(res);
        this.setTokenAction(res);
        myClient.refetchQueries();
        await this.getCurrentUserInfo();
      } catch (error) {}
    },
@@ -235,7 +236,7 @@
     */
    logout() {
      this.resetState();
      myClient.removeQueries();
      // myClient.removeQueries();
      goAuthorization();
    },