guoxiaohuan vor 4 Jahren
Ursprung
Commit
8646089eb8
1 geänderte Dateien mit 6 neuen und 4 gelöschten Zeilen
  1. 6 4
      src/views/room/index.vue

+ 6 - 4
src/views/room/index.vue

@@ -302,9 +302,9 @@
                                 tipPlace='top'
                                 v-model='statuSelect5'
                                 caption='任务状态:'
-                                v-if='status.length>0'
+                                v-if='status.length>=0'
                                 :selectdata='status'
-                                :placeholder='"请选择"'
+                                :placeholder='""'
                                 style='margin-right:12px'
                             ></Select>
                             <Select
@@ -312,9 +312,9 @@
                                 tipPlace='top'
                                 v-model='iszcSelect5'
                                 caption='是否正常:'
-                                v-if='zt.length>0'
+                                v-if='zt.length>=0'
                                 :selectdata='zt'
-                                :placeholder='"请选择"'
+                                :placeholder='""'
                                 style='margin-right:12px'
                             ></Select>
                         </div>
@@ -861,6 +861,7 @@ export default {
                         arr.push(obj)
                     })
                     this.status = this.allArr.concat(arr)
+                    console.log(this.status)
                 }
                 if (zt.length > 0) {
                     zt.forEach((el) => {
@@ -871,6 +872,7 @@ export default {
                         arr1.push(obj)
                     })
                     this.zt = this.allArr.concat(arr1)
+                    console.log(this.zt)
                 }
             })
         },