Skip to content

Commit 08ec8a9

Browse files
committed
fix #1044
1 parent 27387c2 commit 08ec8a9

File tree

1 file changed

+1
-1
lines changed
  • packages/react-bootstrap-table2/src/store

1 file changed

+1
-1
lines changed

packages/react-bootstrap-table2/src/store/type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Const from '../const';
22

33
export const typeConvert = (type, value) => {
4-
if (!type || type === Const.TYPE_STRING) {
4+
if (type === Const.TYPE_STRING) {
55
return String(value);
66
} else if (type === Const.TYPE_NUMBER) {
77
return Number(value);

0 commit comments

Comments
 (0)