Commit c9401807 authored by 李俊赕's avatar 李俊赕

处理水印请求

parent dde5b61d
......@@ -101,6 +101,7 @@
globalData.photo.productList = result
this.dataList = result
var item = result[0]
globalData.photo.waterSetting = item.userWatermark
this.rightList = item.list
},
......@@ -108,6 +109,8 @@
handleTopItemChange: function(ikey, item) {
this.activeTop = ikey
this.rightList = item.list
const photo = getApp().globalData.photo
photo.waterSetting = item.userWatermark
uni.pageScrollTo({
scrollTop: 0,
duration: 0
......
......@@ -96,9 +96,11 @@
this.currentItem = photo.currentItem
},
compute: {
setting() {
waterSetting() {
// photo.waterSetting
const photo = getApp().globalData.photo
return photo.setting || null
console.log(photo.waterSetting,'photo.waterSetting')
return photo.waterSetting || null
}
},
watch: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment