|
|
@@ -34,7 +34,7 @@
|
|
|
|
|
|
<script setup>
|
|
|
import { useRoute } from "vue-router";
|
|
|
-import { ref, onMounted, computed } from "vue";
|
|
|
+import { ref, onActivated, computed } from "vue";
|
|
|
import customHeader from "@/components/customHeader.vue";
|
|
|
import { showImagePreview } from 'vant';
|
|
|
|
|
|
@@ -56,7 +56,7 @@ const handlePhotoClick = (index) => {
|
|
|
});
|
|
|
};
|
|
|
|
|
|
-onMounted(() => {
|
|
|
+onActivated(() => {
|
|
|
getFarmImagePage();
|
|
|
});
|
|
|
|