@tmsfe/tms-core 0.0.85 → 0.0.86
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/package.json +1 -1
- package/src/index-proxy.js +2 -1
- package/src/index.js +3 -1
- package/src/navbarUtils.js +1 -0
package/package.json
CHANGED
package/src/index-proxy.js
CHANGED
|
@@ -10,7 +10,7 @@ import AutoReport from './report/proxy/index';
|
|
|
10
10
|
import md5 from './md5';
|
|
11
11
|
import { serialize } from './objUtils';
|
|
12
12
|
import { calCoordinateDistance, formatDistance } from './distanceUtils';
|
|
13
|
-
import { getNavBarConfigData } from './navbarUtils';
|
|
13
|
+
import { getNavBarConfigData, compareVersion } from './navbarUtils';
|
|
14
14
|
import * as uiUtil from './tmsuiUtils';
|
|
15
15
|
import * as rpxUtil from './rpx';
|
|
16
16
|
import * as stringUtils from './stringUtils';
|
|
@@ -216,6 +216,7 @@ const api = {
|
|
|
216
216
|
calCoordinateDistance,
|
|
217
217
|
formatDistance,
|
|
218
218
|
getNavBarConfigData,
|
|
219
|
+
compareVersion,
|
|
219
220
|
createRequest,
|
|
220
221
|
getEnvInfo,
|
|
221
222
|
isAppPageExist,
|
package/src/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import EventDispatcher from './eventDispatcher';
|
|
|
12
12
|
import { serialize } from './objUtils';
|
|
13
13
|
import { calCoordinateDistance, formatDistance } from './distanceUtils';
|
|
14
14
|
import { rpxToPx, pxToRpx } from './rpx';
|
|
15
|
-
import { getNavBarConfigData } from './navbarUtils';
|
|
15
|
+
import { getNavBarConfigData, compareVersion } from './navbarUtils';
|
|
16
16
|
import {
|
|
17
17
|
formatPlate,
|
|
18
18
|
subStr,
|
|
@@ -196,6 +196,8 @@ const api = {
|
|
|
196
196
|
rpxToPx,
|
|
197
197
|
pxToRpx,
|
|
198
198
|
|
|
199
|
+
/** 版本比较 */
|
|
200
|
+
compareVersion,
|
|
199
201
|
getNavBarConfigData,
|
|
200
202
|
|
|
201
203
|
storage,
|