فهرست منبع

改下预览模块位置顺序

Luolei1992 5 سال پیش
والد
کامیت
9d5ed165f7
2فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 1 1
      build/webpack.dev.conf.js
  2. 4 4
      src/components/Preview.vue

+ 1 - 1
build/webpack.dev.conf.js

@@ -34,7 +34,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
     compress: true,
     // host: HOST || config.dev.host,
     // host: '192.168.3.6',
-    host: '192.168.1.103',
+    host: '192.168.1.101',
     port: PORT || config.dev.port,
     open: config.dev.autoOpenBrowser,
     overlay: config.dev.errorOverlay

+ 4 - 4
src/components/Preview.vue

@@ -42,16 +42,16 @@
             <span v-for="(item,idx) in others.text" :key="item.text+idx">{{item.text+(idx == others.text.length-1?'。':';')}}</span>
           </p>
         </li>
-        <li v-if="showLis[moduleCP['suplement']]==1">
-          <h4><i></i> 补充内容:</h4>
-          <p>{{addContent.txt}}</p>
-        </li>
         <li v-if="JSON.stringify(diagnose.imgSrc) !='{}'">
           <h4><i></i> 最近一次治疗报告:</h4>
           <div v-for="(value,key) in diagnose.imgSrc" class="imgView">
             <img :src="value" alt="">
           </div>
         </li>
+        <li v-if="showLis[moduleCP['suplement']]==1">
+          <h4><i></i> 补充内容:</h4>
+          <p>{{addContent.txt}}</p>
+        </li>
       </ul>
     </div>
     <div class="foot">