src/views/energyManagement/meterCollection/index.vue
@@ -12,7 +12,7 @@ <el-row :gutter="20" style="margin-bottom: 15px;"> <el-col :span="24"> <el-button @click="addTestData" type="primary" size="small">添加测试数据</el-button> <el-button @click="clearData" type="danger" size="small">清空数据</el-button> <el-button @click="clearData" type="danger" size="small" v-hasPermi="['energyManagement:meterCollection:remove']">清空数据</el-button> <el-button @click="testChart" type="success" size="small">测试图表</el-button> </el-col> </el-row>