新增ButtonPopover组件

This commit is contained in:
aoshiguchen
2022-08-28 17:07:53 +08:00
parent 40b3ab8da4
commit e10b4400b6
2 changed files with 4 additions and 1 deletions
@@ -68,5 +68,8 @@ export default {
.popper-p-css{
margin-top: 0px !important;
margin-bottom: 5px !important;
/deep/i{
margin-right: 5px;
}
}
</style>
@@ -42,7 +42,7 @@
<el-button v-if="scope.row.enable =='1'" size="mini" type="danger" @click="handleModifyStatus(scope.row,2)">{{$t('table.disable')}}</el-button>
<el-button v-if="scope.row.enable =='2'" size="mini" type="success" @click="handleModifyStatus(scope.row,1)">{{$t('table.enable')}}</el-button>
<!-- <el-button size="mini" type="danger" @click="handleDelete(scope.row,'deleted')">{{$t('table.delete')}}</el-button>-->
<ButtonPopover @handleCommitClick="handleDelete2(scope.row)"/>
<ButtonPopover @handleCommitClick="handleDelete2(scope.row)" style="margin-left: 10px"/>
</template>
</el-table-column>