diff --git a/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue b/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue index 594d2f2..4f66a11 100644 --- a/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue +++ b/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue @@ -66,7 +66,7 @@ photos.value = [] handleLoadPhotos() } - }) + }, { immediate: true }) function handleClose() { isShow.value = false @@ -91,7 +91,6 @@ - {{ albumName }} @@ -99,12 +98,12 @@ - + - + {{ photo.description }} - + {{ photo.takenDate }} @@ -139,11 +137,11 @@ - 关闭 - 刷新 diff --git a/src/components/uh-comment-modal/uh-comment-modal.vue b/src/components/uh-comment-modal/uh-comment-modal.vue index 5784fbc..731cfb1 100644 --- a/src/components/uh-comment-modal/uh-comment-modal.vue +++ b/src/components/uh-comment-modal/uh-comment-modal.vue @@ -176,8 +176,7 @@ } async function handleHandle() { - if (!validateForm()) - return + if (!validateForm()) { return } uni.showLoading({ title: '正在提交...' }) @@ -269,54 +268,55 @@