zhaobao 1 年之前
父节点
当前提交
def78ca092
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/goaf/unloading_evaluation_threshold/index.vue

+ 1 - 1
src/views/goaf/unloading_evaluation_threshold/index.vue

@@ -10,7 +10,7 @@
         <el-input v-model="conditions.goafDevName" class="search-input m-right-15" placeholder="请输入设备名称">
           <el-button slot="append" icon="el-icon-search" @click="getData()" />
         </el-input>
-        <el-button type="primary" @click="handleAdd">新增</el-button>
+        <el-button v-if="dataList.length<1" type="primary" @click="handleAdd">新增</el-button>
       </el-col>
     </el-row>