fix : 二级页面排序只在正序倒序切换

This commit is contained in:
zhangyu
2020-07-28 10:19:00 +08:00
parent 43a44f707b
commit 7224423e35
5 changed files with 7 additions and 3 deletions

View File

@@ -47,6 +47,7 @@
min-width="110px"
:sortable="sortableShow(item.prop)"
:prop="propTitle(item.prop)"
:sort-orders="['ascending', 'descending']"
>
<template slot-scope="scope" :column="item">
<span v-if="item.prop == 'asset' && scope.row[item.prop]" class="link" @click="">{{scope.row[item.prop].host}}</span>