src/views/facilityManagement/deviceType/index.vue
@@ -1,6 +1,6 @@ <template> <div class="box"> <el-button type="primary" :icon="Plus" @click="openD('新建', 0)" size="default">新建</el-button> <el-button type="primary" :icon="Plus" @click="openD('新增', 0)" size="default">新增</el-button> <el-table :data="tableData" style="width: 100%" row-key="id" :tree-props="propse"> <el-table-column align="center" label="是否为设备内容"> <template #default="scope">