Bläddra i källkod

修复首页图片显示问题

liling 1 år sedan
förälder
incheckning
2789df575d
3 ändrade filer med 5 tillägg och 2 borttagningar
  1. BIN
      public/static/index_flow.jpg
  2. 2 2
      src/views/dashboard/index.vue
  3. 3 0
      src/views/plan/save.vue

BIN
public/static/index_flow.jpg


+ 2 - 2
src/views/dashboard/index.vue

@@ -52,8 +52,8 @@
           <div class="title">
             检测流程指南
           </div>
-          <div class="flow-img">
-            <el-image src="./index_flow.jpg" fit="contain" />
+          <div class="flow-img" style="margin-top: 8%;">
+            <img src="/static/index_flow.jpg" fit="contain" style="width: 100%;">
           </div>
         </div>
       </el-col>

+ 3 - 0
src/views/plan/save.vue

@@ -107,11 +107,14 @@ export default {
       }
       if (this.currentStep === 1) {
         // 当前方案是否是主站104方案
+        this.$refs.planCheckPointMaster104.getPlanCheckPoint()
+        /*
         if (this.isMaster104) {
           this.$refs.planCheckPointMaster104.getPlanCheckPoint()
         } else {
           this.$refs.planCheckPoint.getPlanCheckPoint()
         }
+        */
       } else if (this.currentStep === 2) {
         this.$refs.planSteps.getPlanSteps()
       } else if (this.currentStep === 3) {