소스 검색

设备列表 首次访问modal赋值问题解决

zhangsijie 1 년 전
부모
커밋
992dc2b8b2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      pages/equipList/index.vue

+ 1 - 0
pages/equipList/index.vue

@@ -189,6 +189,7 @@ export default {
       console.log("设备列表11111111111111", this.list);
       if (res.length) {
         this.type_id = this.list[0].id;
+		this.device_model = this.list[0].device_model;
         if (this.list[0].id == 10) {
           this.xyeqlist();
         } else {