v-show 的多条件运算
v-show=" scope.row.state === '未发布' ||
scope.row.state === '已发布' ||
scope.row.state === '发布中' "
--------------------------------------------------------------------------------------
element UI :el-menu菜单栏跳转router模式,是否使用 vue-router 的模式,启用该模式会在激活导航时以 index 作为 path 进行路由跳转。
<el-menu router :default-active="this.$route.path">
<el-menu-item index="/internalRating/sponsor">
</el-menu-item>
</el-menu>
--------------------------------------------------------------------------------------
scoped情况下 修改el组件原始样式
.tableStyle >>> .el-table .cell {
white-space: nowrap;
text-overflow: ellipsis;
}
.tableStyle 自取类名