mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 06:20:50 +00:00
improve: 邀请二维码生成
This commit is contained in:
parent
677f4aa1ef
commit
02e66850c7
@ -220,7 +220,7 @@
|
||||
// #endif
|
||||
// #ifdef APP-PLUS
|
||||
img = await this.imgToBase(res.data.spread[i].pic, res.data.qrcode)
|
||||
arr2 = [img.code || this.codeSrc, img.image]
|
||||
arr2 = [this.codeSrc, img.image]
|
||||
// #endif
|
||||
that.$util.userPosterCanvas(arr2, res.data.nickname, res.data.site_name, i, this.wd, this.hg, (
|
||||
tempFilePath) => {
|
||||
@ -247,6 +247,7 @@
|
||||
this.mpUrl = res.data.url
|
||||
},
|
||||
async imgToBase(url, code) {
|
||||
console.log(url, code);
|
||||
let res = await imgToBase({
|
||||
image: url,
|
||||
code: code
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user