autobots-commonlib 1.3.10 → 1.3.11
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/.idea/workspace.xml +55 -113
- package/README.md +3 -0
- package/package.json +1 -1
- package/util/utils.js +1 -16
package/.idea/workspace.xml
CHANGED
|
@@ -4,8 +4,11 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="30c1af58-4d10-4799-8434-f7c14eade97a" name="Default Changelist" comment="">
|
|
7
|
+
<list default="true" id="30c1af58-4d10-4799-8434-f7c14eade97a" name="Default Changelist" comment="优化重定向写日志参数处理1.3.10">
|
|
8
8
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
11
|
+
<change beforePath="$PROJECT_DIR$/util/utils.js" beforeDir="false" afterPath="$PROJECT_DIR$/util/utils.js" afterDir="false" />
|
|
9
12
|
</list>
|
|
10
13
|
<option name="SHOW_DIALOG" value="false" />
|
|
11
14
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -227,20 +230,22 @@
|
|
|
227
230
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
228
231
|
<option name="showLibraryContents" value="true" />
|
|
229
232
|
</component>
|
|
230
|
-
<component name="PropertiesComponent"
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
233
|
+
<component name="PropertiesComponent"><![CDATA[{
|
|
234
|
+
"keyToString": {
|
|
235
|
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
236
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
237
|
+
"RunOnceActivity.git.unshallow": "true",
|
|
238
|
+
"WebServerToolWindowFactoryState": "false",
|
|
239
|
+
"git-widget-placeholder": "master",
|
|
240
|
+
"last_opened_file_path": "/Users/majing15134/projects/RN/autobots-commonlib",
|
|
241
|
+
"node.js.detected.package.eslint": "true",
|
|
242
|
+
"node.js.detected.package.tslint": "true",
|
|
243
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
244
|
+
"node.js.selected.package.tslint": "(autodetect)",
|
|
245
|
+
"nodejs_package_manager_path": "npm",
|
|
246
|
+
"vue.rearranger.settings.migration": "true"
|
|
242
247
|
}
|
|
243
|
-
}
|
|
248
|
+
}]]></component>
|
|
244
249
|
<component name="RecentsManager">
|
|
245
250
|
<key name="CopyFile.RECENT_KEYS">
|
|
246
251
|
<recent name="$PROJECT_DIR$" />
|
|
@@ -248,6 +253,13 @@
|
|
|
248
253
|
<recent name="$PROJECT_DIR$/img" />
|
|
249
254
|
</key>
|
|
250
255
|
</component>
|
|
256
|
+
<component name="SharedIndexes">
|
|
257
|
+
<attachedChunks>
|
|
258
|
+
<set>
|
|
259
|
+
<option value="bundled-js-predefined-d6986cc7102b-e768b9ed790e-JavaScript-WS-243.21565.180" />
|
|
260
|
+
</set>
|
|
261
|
+
</attachedChunks>
|
|
262
|
+
</component>
|
|
251
263
|
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
252
264
|
<component name="SvnConfiguration">
|
|
253
265
|
<configuration />
|
|
@@ -317,28 +329,8 @@
|
|
|
317
329
|
<workItem from="1713170876054" duration="10998000" />
|
|
318
330
|
<workItem from="1715841212364" duration="699000" />
|
|
319
331
|
<workItem from="1716272524681" duration="9005000" />
|
|
320
|
-
<workItem from="1716814998133" duration="
|
|
321
|
-
<workItem from="
|
|
322
|
-
<workItem from="1719543986343" duration="1315000" />
|
|
323
|
-
<workItem from="1719557850708" duration="158000" />
|
|
324
|
-
<workItem from="1720788061545" duration="659000" />
|
|
325
|
-
<workItem from="1723022063800" duration="1255000" />
|
|
326
|
-
<workItem from="1723445600579" duration="44000" />
|
|
327
|
-
<workItem from="1724206074117" duration="1956000" />
|
|
328
|
-
<workItem from="1728909453001" duration="438000" />
|
|
329
|
-
<workItem from="1734510585366" duration="7806000" />
|
|
330
|
-
<workItem from="1734574254811" duration="14608000" />
|
|
331
|
-
<workItem from="1734660084102" duration="1178000" />
|
|
332
|
-
<workItem from="1735107648089" duration="1649000" />
|
|
333
|
-
<workItem from="1735133340280" duration="453000" />
|
|
334
|
-
<workItem from="1735729650505" duration="747000" />
|
|
335
|
-
<workItem from="1735783516156" duration="6837000" />
|
|
336
|
-
<workItem from="1738999153812" duration="212000" />
|
|
337
|
-
<workItem from="1739254420113" duration="1284000" />
|
|
338
|
-
<workItem from="1739412050915" duration="155000" />
|
|
339
|
-
<workItem from="1739516604702" duration="755000" />
|
|
340
|
-
<workItem from="1741058434802" duration="1212000" />
|
|
341
|
-
<workItem from="1744600489536" duration="1575000" />
|
|
332
|
+
<workItem from="1716814998133" duration="636000" />
|
|
333
|
+
<workItem from="1744956907040" duration="306000" />
|
|
342
334
|
</task>
|
|
343
335
|
<task id="LOCAL-00001" summary="1、增加新组件NewNavbar; 2、修改jump方法,增加一个参数;">
|
|
344
336
|
<created>1561551696357</created>
|
|
@@ -531,23 +523,39 @@
|
|
|
531
523
|
<option name="project" value="LOCAL" />
|
|
532
524
|
<updated>1716813889290</updated>
|
|
533
525
|
</task>
|
|
534
|
-
<task id="LOCAL-00026" summary="
|
|
526
|
+
<task id="LOCAL-00026" summary="console log重定向,通过RN桥写日志">
|
|
535
527
|
<option name="closed" value="true" />
|
|
536
|
-
<created>
|
|
528
|
+
<created>1744626071166</created>
|
|
537
529
|
<option name="number" value="00026" />
|
|
538
530
|
<option name="presentableId" value="LOCAL-00026" />
|
|
539
531
|
<option name="project" value="LOCAL" />
|
|
540
|
-
<updated>
|
|
532
|
+
<updated>1744626071166</updated>
|
|
541
533
|
</task>
|
|
542
|
-
<task id="LOCAL-00027" summary="
|
|
534
|
+
<task id="LOCAL-00027" summary="console log重定向,通过RN桥写日志">
|
|
543
535
|
<option name="closed" value="true" />
|
|
544
|
-
<created>
|
|
536
|
+
<created>1744626132485</created>
|
|
545
537
|
<option name="number" value="00027" />
|
|
546
538
|
<option name="presentableId" value="LOCAL-00027" />
|
|
547
539
|
<option name="project" value="LOCAL" />
|
|
548
|
-
<updated>
|
|
540
|
+
<updated>1744626132485</updated>
|
|
541
|
+
</task>
|
|
542
|
+
<task id="LOCAL-00028" summary="版本号1.3.9">
|
|
543
|
+
<option name="closed" value="true" />
|
|
544
|
+
<created>1744626659791</created>
|
|
545
|
+
<option name="number" value="00028" />
|
|
546
|
+
<option name="presentableId" value="LOCAL-00028" />
|
|
547
|
+
<option name="project" value="LOCAL" />
|
|
548
|
+
<updated>1744626659791</updated>
|
|
549
|
+
</task>
|
|
550
|
+
<task id="LOCAL-00029" summary="优化重定向写日志参数处理1.3.10">
|
|
551
|
+
<option name="closed" value="true" />
|
|
552
|
+
<created>1744712771644</created>
|
|
553
|
+
<option name="number" value="00029" />
|
|
554
|
+
<option name="presentableId" value="LOCAL-00029" />
|
|
555
|
+
<option name="project" value="LOCAL" />
|
|
556
|
+
<updated>1744712771644</updated>
|
|
549
557
|
</task>
|
|
550
|
-
<option name="localTasksCounter" value="
|
|
558
|
+
<option name="localTasksCounter" value="30" />
|
|
551
559
|
<servers />
|
|
552
560
|
</component>
|
|
553
561
|
<component name="TimeTrackingManager">
|
|
@@ -595,64 +603,12 @@
|
|
|
595
603
|
<component name="Vcs.Log.Tabs.Properties">
|
|
596
604
|
<option name="OPEN_GENERIC_TABS">
|
|
597
605
|
<map>
|
|
598
|
-
<entry key="37b214ca-431b-4a81-bc9e-5fe3e91842d9" value="TOOL_WINDOW" />
|
|
599
|
-
<entry key="3c8b0b99-0aa6-41f7-ac7f-4cb445fce607" value="TOOL_WINDOW" />
|
|
600
606
|
<entry key="68016c0f-bd47-47ae-a11b-0f2068b8d124" value="TOOL_WINDOW" />
|
|
601
607
|
<entry key="af60ef88-1ce1-4b05-af70-286a8a22b0ce" value="TOOL_WINDOW" />
|
|
602
608
|
</map>
|
|
603
609
|
</option>
|
|
604
610
|
<option name="TAB_STATES">
|
|
605
611
|
<map>
|
|
606
|
-
<entry key="37b214ca-431b-4a81-bc9e-5fe3e91842d9">
|
|
607
|
-
<value>
|
|
608
|
-
<State>
|
|
609
|
-
<option name="FILTERS">
|
|
610
|
-
<map>
|
|
611
|
-
<entry key="branch">
|
|
612
|
-
<value>
|
|
613
|
-
<list>
|
|
614
|
-
<option value="HEAD" />
|
|
615
|
-
</list>
|
|
616
|
-
</value>
|
|
617
|
-
</entry>
|
|
618
|
-
<entry key="roots">
|
|
619
|
-
<value>
|
|
620
|
-
<list>
|
|
621
|
-
<option value="$PROJECT_DIR$" />
|
|
622
|
-
</list>
|
|
623
|
-
</value>
|
|
624
|
-
</entry>
|
|
625
|
-
</map>
|
|
626
|
-
</option>
|
|
627
|
-
<option name="SHOW_ONLY_AFFECTED_CHANGES" value="true" />
|
|
628
|
-
</State>
|
|
629
|
-
</value>
|
|
630
|
-
</entry>
|
|
631
|
-
<entry key="3c8b0b99-0aa6-41f7-ac7f-4cb445fce607">
|
|
632
|
-
<value>
|
|
633
|
-
<State>
|
|
634
|
-
<option name="FILTERS">
|
|
635
|
-
<map>
|
|
636
|
-
<entry key="branch">
|
|
637
|
-
<value>
|
|
638
|
-
<list>
|
|
639
|
-
<option value="HEAD" />
|
|
640
|
-
</list>
|
|
641
|
-
</value>
|
|
642
|
-
</entry>
|
|
643
|
-
<entry key="roots">
|
|
644
|
-
<value>
|
|
645
|
-
<list>
|
|
646
|
-
<option value="$PROJECT_DIR$" />
|
|
647
|
-
</list>
|
|
648
|
-
</value>
|
|
649
|
-
</entry>
|
|
650
|
-
</map>
|
|
651
|
-
</option>
|
|
652
|
-
<option name="SHOW_ONLY_AFFECTED_CHANGES" value="true" />
|
|
653
|
-
</State>
|
|
654
|
-
</value>
|
|
655
|
-
</entry>
|
|
656
612
|
<entry key="68016c0f-bd47-47ae-a11b-0f2068b8d124">
|
|
657
613
|
<value>
|
|
658
614
|
<State>
|
|
@@ -727,24 +683,10 @@
|
|
|
727
683
|
<MESSAGE value="修改主软件网络库的js桥接代码,兼容js的fetch缓存方法" />
|
|
728
684
|
<MESSAGE value="更新版本号到1.3.3" />
|
|
729
685
|
<MESSAGE value="处理asyncFetch和asyncPostForm传递的参数为null的场景" />
|
|
730
|
-
<MESSAGE value="
|
|
731
|
-
<MESSAGE value="
|
|
732
|
-
<
|
|
733
|
-
|
|
734
|
-
<component name="XDebuggerManager">
|
|
735
|
-
<breakpoint-manager>
|
|
736
|
-
<breakpoints>
|
|
737
|
-
<line-breakpoint enabled="true" type="javascript">
|
|
738
|
-
<url>file://$PROJECT_DIR$/app.js</url>
|
|
739
|
-
<line>10</line>
|
|
740
|
-
<option name="timeStamp" value="1" />
|
|
741
|
-
</line-breakpoint>
|
|
742
|
-
<line-breakpoint enabled="true" type="javascript">
|
|
743
|
-
<url>file://$PROJECT_DIR$/native.js</url>
|
|
744
|
-
<option name="timeStamp" value="2" />
|
|
745
|
-
</line-breakpoint>
|
|
746
|
-
</breakpoints>
|
|
747
|
-
</breakpoint-manager>
|
|
686
|
+
<MESSAGE value="console log重定向,通过RN桥写日志" />
|
|
687
|
+
<MESSAGE value="版本号1.3.9" />
|
|
688
|
+
<MESSAGE value="优化重定向写日志参数处理1.3.10" />
|
|
689
|
+
<option name="LAST_COMMIT_MESSAGE" value="优化重定向写日志参数处理1.3.10" />
|
|
748
690
|
</component>
|
|
749
691
|
<component name="editorHistoryManager">
|
|
750
692
|
<entry file="file://$PROJECT_DIR$/window.js">
|
package/README.md
CHANGED
package/package.json
CHANGED
package/util/utils.js
CHANGED
|
@@ -67,22 +67,7 @@ function newConsoleLog(type, msg) {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
function consoleLogOutput() {
|
|
70
|
-
|
|
71
|
-
if (NativeModules.RNDeviceInfo) {
|
|
72
|
-
if (typeof NativeModules.RNDeviceInfo.isConsoleLogShow != 'undefined') {
|
|
73
|
-
let isConsoleLogShow = NativeModules.RNDeviceInfo.isConsoleLogShow;
|
|
74
|
-
if (!isConsoleLogShow) {
|
|
75
|
-
disableLog = true;
|
|
76
|
-
console.info = () => {};
|
|
77
|
-
console.log = () => {};
|
|
78
|
-
console.warn = () => {};
|
|
79
|
-
console.debug = () => {};
|
|
80
|
-
console.error = () => {};
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
if (!disableLog && NativeModules.QCRLoganModule && NativeModules.QCRLoganModule.writeLog) {
|
|
70
|
+
if (NativeModules.QCRLoganModule && NativeModules.QCRLoganModule.writeLog) {
|
|
86
71
|
console.log = (...args) => {
|
|
87
72
|
newConsoleLog(11, args.map(value=> object2String(value)).join(' '));
|
|
88
73
|
};
|