Commit 9cc1b989 by 程默

jj test

parent f056857c
......@@ -2,7 +2,7 @@ var merge = require('webpack-merge')
var prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
module.exports = merge(prodEnv, {//zjgyl
SHOP_MIXID:"'zjgyl'",
NODE_ENV: '"development"',
BASE_URL:"'https://shop.mayi888.com'",
......
<template>
<div class="domain">
获取微信地址
获取微信地址{{address}}--111
</div>
</template>
......@@ -10,6 +10,7 @@ import addres from "@/api/userAddress";
export default {
data() {
return {
address: wx.getStorageSync('sessionid'),
options: "",
weChatInfo: "",
userAddressReq: {
......@@ -36,6 +37,7 @@ export default {
},
onLoad(options) {
Object.assign(this.$data, this.$options.data());
console.log('token',this.address);
this.options = options;
let that = this;
wx.chooseAddress({
......@@ -110,8 +112,11 @@ export default {
});
}, 200);
} else {
wx.showToast({ title: res.data.msg, icon: "none" });
}
});
}else{
wx.showToast({ title: res.data.msg, icon: "none" });
}
});
}
......
......@@ -17,6 +17,7 @@ export default {
link: this.baseUrl,
page: "/",
params: "?mixid=" + this.shopId,
userInfo: {
nickName: "mpvue",
avatarUrl: "http://mpvue.com/assets/logo.png"
......@@ -96,7 +97,7 @@ export default {
console.log("url", this.link + this.page + this.params);
this.getSpokesman();
},
components: {
components: {
// card
},
methods: {
......
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