|
|
|
@ -59,8 +59,8 @@ |
|
|
|
|
generateInvitationCode(accountId).then(({ expireTime }) => { |
|
|
|
|
const date = new Date(Date.now() + expireTime * 1000) // 返回的秒,要*1000 |
|
|
|
|
this.expireTime = `${date.getFullYear()}-${this.$util.preZero(date.getMonth() + 1)}-${this.$util.preZero(date.getDate())} ${this.$util.preZero(date.getHours())}:${this.$util.preZero(date.getMinutes())}:${this.$util.preZero(date.getMinutes())}` |
|
|
|
|
// this.link = `https://huorantech.cn/#/join?accountId=${accountId}&id=${this.id}&isTeam=1` |
|
|
|
|
this.link = `http://121.37.12.51/backstage/#/join?accountId=${accountId}&id=${this.id}&isTeam=1` |
|
|
|
|
this.link = `https://huorantech.cn/#/join?accountId=${accountId}&id=${this.id}&isTeam=1` |
|
|
|
|
// this.link = `http://121.37.12.51/backstage/#/join?accountId=${accountId}&id=${this.id}&isTeam=1` |
|
|
|
|
}).catch(e => {}) |
|
|
|
|
}, |
|
|
|
|
// 二维码组件生成完成钩子。生成后把图片导出给image组件,image组件才可以长按二维码转发 |
|
|
|
|