diff --git a/src/api/photo.js b/src/api/photo.js
index ac0a1bc0..49218186 100644
--- a/src/api/photo.js
+++ b/src/api/photo.js
@@ -20,6 +20,14 @@ photoApi.create = (photo) => {
})
}
+photoApi.update = (photoId, photo) => {
+ return service({
+ url: `${baseUrl}/${photoId}`,
+ method: 'put',
+ data: photo
+ })
+}
+
photoApi.delete = photoId => {
return service({
url: `${baseUrl}/${photoId}`,
diff --git a/src/views/sheet/internal/PhotoList.vue b/src/views/sheet/internal/PhotoList.vue
index f682bdf6..af5d35cc 100644
--- a/src/views/sheet/internal/PhotoList.vue
+++ b/src/views/sheet/internal/PhotoList.vue
@@ -54,6 +54,7 @@