wargerm 0.5.38 → 0.5.39

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/index.esm.js CHANGED
@@ -7601,13 +7601,17 @@ function WaterLevelCharts(config) {
7601
7601
  /*
7602
7602
  * @Author: lijin
7603
7603
  * @Date: 2021-09-09 11:02:54
7604
- * @LastEditTime: 2022-09-06 15:31:12
7604
+ * @LastEditTime: 2022-10-26 15:21:50
7605
7605
  * @LastEditors: lijin
7606
7606
  * @Description:
7607
- * @FilePath: \wargerm-components\src\index.ts
7607
+ * @FilePath: \wargerm\src\index.ts
7608
7608
  * 可以输入预定的版权声明、个性签名、空行等
7609
7609
  */
7610
- var COLOR_ATTR_NAME = 'data-prefers-color';
7611
- document.documentElement.setAttribute(COLOR_ATTR_NAME, 'nt');
7610
+ console.log(REACT_APP_ENV, 'REACT_APP_ENV');
7611
+
7612
+ if (REACT_APP_ENV == 'development') {
7613
+ var COLOR_ATTR_NAME = 'data-prefers-color';
7614
+ document.documentElement.setAttribute(COLOR_ATTR_NAME, 'nt');
7615
+ }
7612
7616
 
7613
7617
  export { Index$a as AutoScroll, Index$c as Breadcrumb, WButton as Button, index$4 as Calendar, index$2 as Card, WCascader as Cascader, Index$4 as Checkbox, Index$9 as CountUp, Index$2 as DatePicker, DragBox, index as IconFont, Index as Input, WInputNumber as InputNumber, LineEcharts, Modal, ModalForm$1 as ModalForm, Modal$1 as ModalTips, Index$8 as Number, NumericInput, Index$3 as Radio, Select, Index$b as Swiper, WSwitch as Switch, index$3 as TabelCard, index$1 as Table, Index$7 as TreeSelect, Upload, index$6 as Video, index$5 as VideoPlayer, Index$6 as WDatePicker, WForm$1 as WForm, WaterLevelCharts, WebsocketHeart, useEventEmitter };
package/dist/index.js CHANGED
@@ -7667,14 +7667,18 @@ function WaterLevelCharts(config) {
7667
7667
  /*
7668
7668
  * @Author: lijin
7669
7669
  * @Date: 2021-09-09 11:02:54
7670
- * @LastEditTime: 2022-09-06 15:31:12
7670
+ * @LastEditTime: 2022-10-26 15:21:50
7671
7671
  * @LastEditors: lijin
7672
7672
  * @Description:
7673
- * @FilePath: \wargerm-components\src\index.ts
7673
+ * @FilePath: \wargerm\src\index.ts
7674
7674
  * 可以输入预定的版权声明、个性签名、空行等
7675
7675
  */
7676
- var COLOR_ATTR_NAME = 'data-prefers-color';
7677
- document.documentElement.setAttribute(COLOR_ATTR_NAME, 'nt');
7676
+ console.log(REACT_APP_ENV, 'REACT_APP_ENV');
7677
+
7678
+ if (REACT_APP_ENV == 'development') {
7679
+ var COLOR_ATTR_NAME = 'data-prefers-color';
7680
+ document.documentElement.setAttribute(COLOR_ATTR_NAME, 'nt');
7681
+ }
7678
7682
 
7679
7683
  exports.AutoScroll = Index$a;
7680
7684
  exports.Breadcrumb = Index$c;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.5.38",
4
+ "version": "0.5.39",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",