This commit is contained in:
xiaozhiyong
2023-04-11 15:46:38 +08:00
parent d70a106008
commit 664bc8c5a3
4 changed files with 20 additions and 9 deletions

View File

@@ -217,9 +217,11 @@
this.innerAudioContext?.stop()
},
onLoad(option) {
if(option.siteId) {
this.siteId = option.siteId
this.getSiteInfo(option.siteId)
let siteId = uni.getStorageSync('siteId') || option.siteId
if(siteId) {
uni.setStorageSync('siteId',siteId)
this.siteId = siteId
this.getSiteInfo(siteId)
return
}
// console.log(option)