jtui3.0 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/jtui3.0.common.js +3 -3
- package/lib/jtui3.0.umd.js +3 -3
- package/lib/jtui3.0.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/jtui3.0.common.js
CHANGED
|
@@ -85452,7 +85452,7 @@ function useFormatter() {
|
|
|
85452
85452
|
/*
|
|
85453
85453
|
* @Author: leevan
|
|
85454
85454
|
* @Date: 2022-07-01 14:10:31
|
|
85455
|
-
* @LastEditTime: 2022-
|
|
85455
|
+
* @LastEditTime: 2022-12-14 17:05:13
|
|
85456
85456
|
* @LastEditors: leevan
|
|
85457
85457
|
* @FilePath: /jtui3.0/packages/tables/hooks/usePublicColumnProperty.js
|
|
85458
85458
|
*/
|
|
@@ -85470,11 +85470,11 @@ function usePublicColumnProperty() {
|
|
|
85470
85470
|
//表头文字
|
|
85471
85471
|
field: item.prop,
|
|
85472
85472
|
//字段
|
|
85473
|
-
align: item.align,
|
|
85473
|
+
align: mode == 'tree' ? 'left' : item.align,
|
|
85474
85474
|
//对齐方式
|
|
85475
85475
|
minWidth: item.width,
|
|
85476
85476
|
//单元格最小宽度
|
|
85477
|
-
visible: mode == 'tree' ?
|
|
85477
|
+
visible: mode == 'tree' ? item.prop == 'name' : item.width != 0,
|
|
85478
85478
|
//列可见条件
|
|
85479
85479
|
fixed: item.isFixed,
|
|
85480
85480
|
//固定列
|
package/lib/jtui3.0.umd.js
CHANGED
|
@@ -85462,7 +85462,7 @@ function useFormatter() {
|
|
|
85462
85462
|
/*
|
|
85463
85463
|
* @Author: leevan
|
|
85464
85464
|
* @Date: 2022-07-01 14:10:31
|
|
85465
|
-
* @LastEditTime: 2022-
|
|
85465
|
+
* @LastEditTime: 2022-12-14 17:05:13
|
|
85466
85466
|
* @LastEditors: leevan
|
|
85467
85467
|
* @FilePath: /jtui3.0/packages/tables/hooks/usePublicColumnProperty.js
|
|
85468
85468
|
*/
|
|
@@ -85480,11 +85480,11 @@ function usePublicColumnProperty() {
|
|
|
85480
85480
|
//表头文字
|
|
85481
85481
|
field: item.prop,
|
|
85482
85482
|
//字段
|
|
85483
|
-
align: item.align,
|
|
85483
|
+
align: mode == 'tree' ? 'left' : item.align,
|
|
85484
85484
|
//对齐方式
|
|
85485
85485
|
minWidth: item.width,
|
|
85486
85486
|
//单元格最小宽度
|
|
85487
|
-
visible: mode == 'tree' ?
|
|
85487
|
+
visible: mode == 'tree' ? item.prop == 'name' : item.width != 0,
|
|
85488
85488
|
//列可见条件
|
|
85489
85489
|
fixed: item.isFixed,
|
|
85490
85490
|
//固定列
|