关于element组件中高级扩展的使用(true和false)

 

如果直接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>

猜你喜欢

转载自blog.csdn.net/weixin_57607714/article/details/124097591