visual-buried-point-platform-uni 1.0.0-alpha.19 → 1.0.0-alpha.20
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/index.js +0 -1
- package/package.json +2 -2
- package/tools.js +1 -1
package/index.js
CHANGED
|
@@ -114,7 +114,6 @@ export function reportTrackEventServer(upType, data, sFailKey) {
|
|
|
114
114
|
},
|
|
115
115
|
data: reportData,
|
|
116
116
|
success: function (res) {
|
|
117
|
-
console.log("res: ", JSON.stringify(res));
|
|
118
117
|
if (res && res.data) {
|
|
119
118
|
uni.setStorageSync(sFailKey, JSON.stringify(data));
|
|
120
119
|
} else {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "visual-buried-point-platform-uni",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
4
|
-
"lsi": "
|
|
3
|
+
"version": "1.0.0-alpha.20",
|
|
4
|
+
"lsi": "ed99d6b89ba03b5de469d24f83dce53a#1.0.0-alpha.20",
|
|
5
5
|
"description": "To make it easy for you to get started with GitLab, here's a list of recommended next steps.",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
package/tools.js
CHANGED
|
@@ -158,7 +158,7 @@ export function getAppInfo(result) {
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
function getCurDeviceType(res) {
|
|
161
|
-
if (Global.platform === "web" || platform === "h5") {
|
|
161
|
+
if (Global.platform === "web" || Global.platform === "h5") {
|
|
162
162
|
const userAgent = res.ua.toLowerCase();
|
|
163
163
|
if (/(windows|win32|win64|wow64)/.test(userAgent)) {
|
|
164
164
|
return 1;
|