调整首页

This commit is contained in:
2024-03-26 17:38:31 +08:00
parent 756f567dba
commit 3b5525a2a2
18 changed files with 247 additions and 34 deletions

View File

@@ -20,13 +20,9 @@ Page({
this.getCode()
},
async getCode() {
const { code, message, data } = await getWxCode()
if (code !== OK) {
alertInfo(message)
return
}
const data = await getWxCode()
this.setData({
url: data
url: wx.arrayBufferToBase64(data)
})
},
/**