如果直接enterable="false" 会不显示效果 需要加上动态绑定:
写false则意味 鼠标进入到文字提示的黑色框则消失 建议false 这个鼠标经过多个按钮时 不会被上一个文字提示遮盖住!
<el-tooltip effect="dark" content="分配角色" placement="top" :enterable="false">
<el-button type="warning" icon="el-icon-setting" size="mini"></el-button>
</el-tooltip>