feat: 网站支持按状态排序 (#3166)

Refs https://github.com/1Panel-dev/1Panel/issues/2193
This commit is contained in:
zhengkunwang 2023-12-04 16:58:09 +08:00 committed by GitHub
parent d087811ae3
commit 10aff32bb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,7 @@
</el-button>
</template>
</el-table-column>
<el-table-column :label="$t('commons.table.status')" prop="status" width="120px">
<el-table-column :label="$t('commons.table.status')" prop="status" width="120px" sortable>
<template #default="{ row }">
<el-button
v-if="row.status === 'Running'"