/ / Log in
      this.$store.dispatch("Login", this.loginForm).then(info => {
          this.loginloading = false;
          return new Promise((resolve, reject) => {
          //token
            GetAssessTokenInfo(name, psd)
              .then(response => {                  
                resolve(response);
              })
              .catch(error => {
                reject(error);
              });
          });
        })
        .catch(() => {
        });
    I want to send the protocol to obtain token in the callback after a successful login. How to write the correct promise?
