How to use the vux.querystring.parse function in vux

To help you get started, we’ve selected a few vux examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Kerbores / NUTZ-ONEKEY / thunder / thunder-web / src / main / wechat / src / views / Add.vue View on Github external
created() {
      if (location.search) {
        this.openid = querystring.parse(location.search.substr(1)).openid;
        this.$api.Topic.nutzer(this.openid, result => {
          this.save(result);
        });
      } else {
        this.remove();
      }
      if (!this.logined()) {
        this.$router.push({
          path: "/me"
        });
      }
    }
  };
github Kerbores / NUTZ-ONEKEY / thunder / thunder-web / src / main / wechat / src / views / List.vue View on Github external
created() {
    if (location.search) {
      this.openid = querystring.parse(location.search.substr(1)).openid;
      this.$api.Topic.nutzer(this.openid, result => {
        this.save(result);
      });
    } else {
      this.remove();
    }
    this.loadTopic(true);
  }
};