feat:所有表格可以排序的页面点击表头只在正序倒序切换 style:修改箭头样式 添加assetlabel的气泡内容

This commit is contained in:
zhangyu
2020-07-28 11:45:37 +08:00
parent 7224423e35
commit c9b93fd0a3
9 changed files with 97 additions and 19 deletions

View File

@@ -67,7 +67,8 @@
:key="`col-${index}`"
:label="item.label"
:sortable="sortableShow(item.prop)"
:prop="propTitle(item.prop)">
:prop="propTitle(item.prop)"
:sort-orders="['ascending', 'descending']">
<template slot-scope="scope" :column="item">
<template v-if="item.prop == 'vendor'" >{{scope.row[item.prop].value}}</template>
<template v-else-if="item.prop == 'type'" >{{scope.row[item.prop].value}}</template>