1178232204@qq.com hace 3 años
padre
commit
a9c5b81e2f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/components/Preview.vue

+ 2 - 1
src/components/Preview.vue

@@ -67,7 +67,7 @@
               <p>
                 <span>{{ getDetailText(diagnose.text, false).view }}</span>
               </p>
-              <div v-if="scaleInfo">
+              <div :style="!istrue?'':'padding-top:15px'" v-if="scaleInfo">
                 <p>{{ scaleInfo[0].scaleName }}</p>
                 <p>得分:{{ scaleInfo[0].score }}</p>
                 <p>结果为:{{ scaleInfo[0].result }}</p>
@@ -228,6 +228,7 @@ export default {
       config: (state) => state.sysConfig,
       addBuriedSomeList: (state) => state.addBuriedSomeList,
       imgList: (state) => state.uploadImgs,
+      istrue: (state) => state.istrue,
     }),
   },
   created() {