Commit 6ef23f42 authored by Z's avatar Z

Z: Dot: 添加整理从URL传入的参数。

parent 6bb64987
...@@ -18,6 +18,7 @@ export default { ...@@ -18,6 +18,7 @@ export default {
}; };
}, },
mounted() { mounted() {
this.cleanUrl()
this.getAcessToken(); this.getAcessToken();
this.createCode(); this.createCode();
}, },
...@@ -43,6 +44,7 @@ export default { ...@@ -43,6 +44,7 @@ export default {
createCode() { createCode() {
let _this = this; let _this = this;
let pageUrl = `/wxx/cgi-bin/wxaapp/createwxaqrcode?access_token=${_this.accessToken}`; let pageUrl = `/wxx/cgi-bin/wxaapp/createwxaqrcode?access_token=${_this.accessToken}`;
alert(`!-->ajax: data: path: ${_this.nowUrl}&detailid=${_this.voucherId}&actionid=${_this.activeId}&unionid=${_this.unionId}`)
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: pageUrl, url: pageUrl,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment