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

View File

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