|
@@ -36,13 +36,16 @@ export default {
|
|
|
uid() {
|
|
|
return this.$route.query.uid;
|
|
|
},
|
|
|
+ openid() {
|
|
|
+ return this.$route.query.openid;
|
|
|
+ },
|
|
|
},
|
|
|
methods: {
|
|
|
...authUser(['bind']),
|
|
|
async bindBtn() {
|
|
|
let data = {};
|
|
|
data.uid = this.uid;
|
|
|
- // data.openid = '05';
|
|
|
+ data.openid = this.openid;
|
|
|
let res = await this.bind(data);
|
|
|
if (res.errcode == '0') {
|
|
|
this.$message({
|