This commit is contained in:
yanran200730
2022-05-27 11:43:20 +08:00
parent 94232eb648
commit 2538a9be6f

View File

@@ -70,10 +70,6 @@
} }
uni.$on('watermarkChange', e => { uni.$on('watermarkChange', e => {
if (e.type === 'watermark') {
this.watermarkId = e.value
}
if (e.type === 'photoSource') { if (e.type === 'photoSource') {
this.photoSource = e.value this.photoSource = e.value
} }
@@ -118,9 +114,7 @@
if (res.code === 0) { if (res.code === 0) {
this.info = res.data this.info = res.data
this.albumName = res.data.albumName this.albumName = res.data.albumName
this.createUserId = res.data.createUserId || ''
this.photoSource = res.data.photoSource || 0 this.photoSource = res.data.photoSource || 0
this.watermarkId = res.data.watermarkId || ''
this.albumUserList = res.data.albumUserList || [] this.albumUserList = res.data.albumUserList || []
} }
}) })
@@ -135,9 +129,8 @@
this.$http.post('/api/appalbum/addOrUpdate', { this.$http.post('/api/appalbum/addOrUpdate', {
albumName: this.albumName, albumName: this.albumName,
createUserId: this.createUserId,
photoSource: this.photoSource, photoSource: this.photoSource,
watermarkId: this.watermarkId, watermarkId: '',
albumUserList: this.albumUserList, albumUserList: this.albumUserList,
id: this.id || '' id: this.id || ''
}).then(res => { }).then(res => {