element-ui 使用el-table 时限制长度超出隐藏解决方案

        

          

            placement="top-start"

            title="事件描述"

            width="300"

            trigger="hover"

          >

            

{{ scope.row.remark }}

            {{

              scope.row.remark != null?  :

              scope.row.remark.substr(0, 20) + "..." + ''

            }}

          

        

      

你可能感兴趣的:(前端)