lxf před 2 týdny
rodič
revize
63e3a6dc93
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      src/components/popup/restorePlantingPopup.vue

+ 3 - 1
src/components/popup/restorePlantingPopup.vue

@@ -5,7 +5,7 @@
         teleport="body"
         :z-index="20000"
         class="restore-planting-popup"
-        :close-on-click-overlay="true"
+        :close-on-click-overlay="false"
     >
         <div class="popup-content">
             <img
@@ -317,9 +317,11 @@ const adjustAndRefreshQuestion = async (action) => {
         // 调整后只替换问题二(及配图),停留在问题二
         const phenoQuestion = data.phenophase_question || "";
         const pic = resolveImageUrl(data.phenophase_pic_url);
+        const guidePic = resolveImageUrl(data.interact_pic_url);
         phenologyQuestion.value = phenoQuestion;
         phenologyHighlight.value = extractPhenologyHighlight(phenoQuestion);
         phenologyImage.value = pic || DEFAULT_PHENOLOGY_IMAGE;
+        phenologyGuideImage.value = guidePic || "";
         if (pic) sampleImage.value = pic;
         phenologyAnswer.value = "";
     } catch (err) {