@zw-team/react-lib 1.0.3 → 1.0.4

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.
@@ -2,7 +2,7 @@ import js_cookie from "js-cookie";
2
2
  function initProdEnvWarning(env) {
3
3
  if ('undefined' == typeof window) return;
4
4
  const isZwWarning = js_cookie.get('zw-warning') || '0';
5
- if ('1' === isZwWarning && ('prod' === env || 'production' === env || 'development' === env)) setTimeout(()=>{
5
+ if ('1' === isZwWarning && ('prod' === env || 'production' === env)) setTimeout(()=>{
6
6
  const indicator = createProdEnvIndicator();
7
7
  if (indicator) window.$BIProdIndicator = indicator;
8
8
  }, 100);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zw-team/react-lib",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "zw-team 业务组件库,基于 React + Ant Design,提供通用组件、Hooks 与工具函数",
5
5
  "keywords": [
6
6
  "react",