wong1988 1 year ago
parent
commit
17b89fd921
  1. 21
      pages/home/myCellar.vue

21
pages/home/myCellar.vue

@ -553,9 +553,24 @@
this.showModal3 = false this.showModal3 = false
}, },
onShareAppMessage: function(res) { onShareAppMessage: function(res) {
console.log("res", res)
console.log("data", res.target.dataset) const promise = new Promise(resolve => {
var data = res.target.dataset.info //
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({ // let shareData = JSON.stringify({

Loading…
Cancel
Save