tg-map-vue3 3.0.7 → 3.0.8
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/dist/tg-map.js +5 -4
- package/dist/tg-map.js.map +1 -1
- package/dist/tg-map.umd.cjs +2 -2
- package/dist/tg-map.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/tg-map.js
CHANGED
|
@@ -452,7 +452,7 @@ class Ze {
|
|
|
452
452
|
h(this, "latestInfoWindow");
|
|
453
453
|
/** 使用{@link setEventTargetDelegate}初始化 */
|
|
454
454
|
h(this, "delegate", void 0);
|
|
455
|
-
this.element = e,
|
|
455
|
+
this.element = e, process.env.NODE_ENV !== "production" && setTimeout(() => {
|
|
456
456
|
this.delegate || console.warn(`${this.constructor.name}继承了AbstractMap, 但未调用setEventTargetDelegate(delegate)`);
|
|
457
457
|
});
|
|
458
458
|
}
|
|
@@ -2292,7 +2292,7 @@ class Or {
|
|
|
2292
2292
|
const s = this.values[r];
|
|
2293
2293
|
t.set(e.call(s), s);
|
|
2294
2294
|
}
|
|
2295
|
-
this.map.set(e, t),
|
|
2295
|
+
this.map.set(e, t), process.env.NODE_ENV !== "production" && this.map.size > this.maxSize4Debug && console.warn(`this.map的大小(${this.map.size})超过了设置的最大大小(${this.maxSize4Debug}), 这可能是由于你每次都创建新的keySelector造成的, 请保证相同功能的keySelector只创建一个对象`);
|
|
2296
2296
|
}
|
|
2297
2297
|
return t;
|
|
2298
2298
|
}
|
|
@@ -3477,8 +3477,9 @@ class Lr extends Ze {
|
|
|
3477
3477
|
const Te = ["3.0"], Br = {
|
|
3478
3478
|
baidu: {
|
|
3479
3479
|
version: "3.0",
|
|
3480
|
-
//
|
|
3481
|
-
//
|
|
3480
|
+
// 在build时会被静态替换, 导致使用者不能无法设置它
|
|
3481
|
+
// @see https://cn.vitejs.dev/guide/build.html#library-mode:~:text=%E6%A8%A1%E5%BC%8F%E4%B8%8B%EF%BC%8C%E6%89%80%E6%9C%89-,({}).*,-%E7%94%A8%E6%B3%95%E5%9C%A8%E6%9E%84
|
|
3482
|
+
// @see @vite_process_env_detail
|
|
3482
3483
|
key: {}.VITE_APP_DEV_KEY_BAIDU,
|
|
3483
3484
|
language: ""
|
|
3484
3485
|
},
|