在table表格中,将icon图标翻转90° 怎么处理


如图,想要将这个图标翻转90度

<el-table

v-loading="listLoading"

:data="list1"

element-loading-text="Loading"

fit

highlight-current-row

>

<el-table-column label="" show-overflow-tooltip>

<template slot-scope="scope">

<span

>这是角色{{ scope.row.customerNo }}</span

>

<span

>这是描述{{ scope.row.customerNo }}</span

>

</template>

</el-table-column>

<el-table-column label="" show-overflow-tooltip>

<template slot-scope="scope">

<el-dropdown trigger="click">

<span class="el-dropdown-link">

<i class="el-icon-more"></i>

<el-dropdown-menu slot="dropdown">

<el-dropdown-item @click.native="deletDepartMent(scope.row)">删除部门</el-dropdown-item>

<el-dropdown-item @click.native="editDepartMent(scope.row)">编辑部门</el-dropdown-item>

</el-dropdown-menu>

</span>

</el-dropdown>

</template>

</el-table-column>

</el-table>

回答

<i class="el-icon-more" style="transform: rotate(90deg);"></i>

以上是 在table表格中,将icon图标翻转90° 怎么处理 的全部内容, 来源链接: utcz.com/a/38454.html

回到顶部