jtui3.0 1.0.15 → 1.0.16
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 +2 -2
- package/lib/jtui3.0.umd.js +2 -2
- package/lib/jtui3.0.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/jtui3.0.common.js
CHANGED
|
@@ -85055,13 +85055,13 @@ function useFilterData() {
|
|
|
85055
85055
|
/*
|
|
85056
85056
|
* @Author: leevan
|
|
85057
85057
|
* @Date: 2022-07-12 16:59:44
|
|
85058
|
-
* @LastEditTime: 2022-11-
|
|
85058
|
+
* @LastEditTime: 2022-11-30 15:33:16
|
|
85059
85059
|
* @LastEditors: leevan
|
|
85060
85060
|
* @FilePath: /jtui3.0/packages/tables/hooks/useFormatter.js
|
|
85061
85061
|
*/
|
|
85062
85062
|
function useFormatter() {
|
|
85063
85063
|
function objectTxt(cellValue) {
|
|
85064
|
-
return typeof cellValue == 'object' ? JSON.stringify(cellValue) : cellValue;
|
|
85064
|
+
return typeof cellValue == 'object' && cellValue != null ? JSON.stringify(cellValue) : cellValue;
|
|
85065
85065
|
}
|
|
85066
85066
|
|
|
85067
85067
|
function formatEnum(column, cellValue, row, data) {
|
package/lib/jtui3.0.umd.js
CHANGED
|
@@ -85065,13 +85065,13 @@ function useFilterData() {
|
|
|
85065
85065
|
/*
|
|
85066
85066
|
* @Author: leevan
|
|
85067
85067
|
* @Date: 2022-07-12 16:59:44
|
|
85068
|
-
* @LastEditTime: 2022-11-
|
|
85068
|
+
* @LastEditTime: 2022-11-30 15:33:16
|
|
85069
85069
|
* @LastEditors: leevan
|
|
85070
85070
|
* @FilePath: /jtui3.0/packages/tables/hooks/useFormatter.js
|
|
85071
85071
|
*/
|
|
85072
85072
|
function useFormatter() {
|
|
85073
85073
|
function objectTxt(cellValue) {
|
|
85074
|
-
return typeof cellValue == 'object' ? JSON.stringify(cellValue) : cellValue;
|
|
85074
|
+
return typeof cellValue == 'object' && cellValue != null ? JSON.stringify(cellValue) : cellValue;
|
|
85075
85075
|
}
|
|
85076
85076
|
|
|
85077
85077
|
function formatEnum(column, cellValue, row, data) {
|