From 6cf535cc793f5c2ff9bbec376e2ec8d20e522a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Wed, 5 Aug 2026 15:52:12 +0800 Subject: [PATCH] =?UTF-8?q?feat(option):=20=E5=85=81=E8=AE=B8=E8=B4=A7?= =?UTF-8?q?=E7=89=A9=E7=B1=BB=E5=9E=8B=E5=88=97=E6=94=AF=E6=8C=81=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在货物类型的相关列中添加 sortable 属性 - 设置 sortable 为 true 以启用列排序功能 - 适配数据表的展示以支持排序交互 - 保持原有列的宽度和显示配置不变 --- src/option/base/cargo-type.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/option/base/cargo-type.js b/src/option/base/cargo-type.js index 1a8b5fc..fcc8d2c 100644 --- a/src/option/base/cargo-type.js +++ b/src/option/base/cargo-type.js @@ -171,6 +171,7 @@ export const getCargoTypeOption = ctx => ({ addDisplay: false, editDisplay: false, display: false, + sortable: true, minWidth: 160, }, { @@ -182,6 +183,7 @@ export const getCargoTypeOption = ctx => ({ addDisplay: false, editDisplay: false, display: false, + sortable: true, minWidth: 160, }, ],