This commit is contained in:
wong1988
2024-01-21 10:32:47 +08:00
parent 8ca0626275
commit 17b89fd921

View File

@@ -553,9 +553,24 @@
this.showModal3 = false
},
onShareAppMessage: function(res) {
console.log("res", res)
console.log("data", res.target.dataset)
var data = res.target.dataset.info
const promise = new Promise(resolve => {
// 模拟网络请求
setTimeout(()=>{
resolve({
title: '标题',
path: '页面'
})
},3000)
})
return {
promise
}
// console.log("res", res)
// console.log("data", res.target.dataset)
// var data = res.target.dataset.info
// // ①
// let shareData = JSON.stringify({