diff --git a/src/views/sheet/internal/PhotoList.vue b/src/views/sheet/internal/PhotoList.vue index 83234b6f..75123f17 100644 --- a/src/views/sheet/internal/PhotoList.vue +++ b/src/views/sheet/internal/PhotoList.vue @@ -322,10 +322,12 @@ export default { if (this.photo.id) { photoApi.update(this.photo.id, this.photo).then(response => { this.$message.success('照片更新成功') + this.loadPhotos() }) } else { photoApi.create(this.photo).then(response => { this.$message.success('照片添加成功') + this.loadPhotos() this.photo = response.data.data }) }