gr 1 year ago
parent
commit
3d66b2d412
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/hdsj/Index.vue

+ 3 - 2
src/views/hdsj/Index.vue

@@ -102,7 +102,7 @@
                 <li
                   v-for="item,index in fstjListData.value.slice((page-1)*4, (page-1)*4+4)"
                   class="coloumn"
-                  :class="{'highlight': fstjCurrentId===item.ID}"
+                  :class="{'highlight': fstjCurrentId===item.id}"
                   @click="handlePickFstjCurrent(item)"
                 >
                   <span>{{ item.wnName }}</span>
@@ -306,7 +306,7 @@ export default {
   function handlePickFstjCurrent(item) {
     ueCallClearShujun()
     setTimeout(() => {
-      fstjCurrentId.value = item.ID
+      fstjCurrentId.value = item.id
       shujunRunTime.value = 1
       ueCallInitShujun()
     }, 1000);
@@ -322,6 +322,7 @@ export default {
   }
 
   function handleCloseList() {
+    fstjCurrentId.value = ''
     fstjListShow.value = false
     ueCallClearShujun()
   }