fix(测试跟踪): 缺陷列表排序后,顺序显示不对

This commit is contained in:
chenjianxing 2023-04-17 11:55:47 +08:00 committed by jianxing
parent c7863d2db3
commit 67d9d20448
2 changed files with 6 additions and 6 deletions

View File

@ -56,7 +56,7 @@
<ms-table-column
prop="deleteTime"
sortable
sortable="custom"
v-if="this.trashEnable"
:fields-width="fieldsWidth"
:label="$t('commons.delete_time')"
@ -81,7 +81,7 @@
:fields-width="fieldsWidth"
:column-key="'num'"
:prop="'num'"
sortable
sortable="custom"
:label="$t('commons.id')"
min-width="80">
<template v-slot:default="scope">
@ -94,7 +94,7 @@
:fields-width="fieldsWidth"
:column-key="'customNum'"
prop="customNum"
sortable
sortable="custom"
:label="$t('commons.id')"
min-width="80">
<template v-slot:default="scope">
@ -104,7 +104,7 @@
<ms-table-column
prop="name"
sortable
sortable="custom"
:field="item"
:fields-width="fieldsWidth"
:label="$t('test_track.case.name')"
@ -121,7 +121,7 @@
</ms-table-column>
<ms-table-column
sortable
sortable="custom"
prop="createUser"
min-width="120"
:field="item"

View File

@ -56,7 +56,7 @@
:label="item.label"
:prop="item.id"
:field="item"
:sortable="item.sortable"
:sortable="item.sortable ? 'custom' : item.sortable"
:min-width="item.minWidth"
:column-key="item.columnKey"
:width="item.width"