Skip to content

Commit 919db14

Browse files
author
ChenGuanglin
committed
【bug】从我的数据添加二进制的csv,生成迁徙图,保存刷新,控制台报错
review by zhaoq
1 parent 63f77f2 commit 919db14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openlayers/core/Util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export class Util {
283283
* @param {string} str - 需要裁剪的字符串
284284
* @returns {boolean}
285285
*/
286-
static trim(str) {
286+
static trim(str = '') {
287287
return str.replace(/(^\s*)|(\s*$)/g, "");
288288
}
289289
/**

0 commit comments

Comments
 (0)