isdata-customer-sdk 0.1.80 → 0.1.82

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.umd.js CHANGED
@@ -29633,10 +29633,6 @@ __webpack_require__.d(__webpack_exports__, {
29633
29633
  validateSSOPageLoaded: function() { return /* reexport */ validateSSOPageLoaded; }
29634
29634
  });
29635
29635
 
29636
- // NAMESPACE OBJECT: ./node_modules/ua-parser-js/src/main/ua-parser.mjs
29637
- var ua_parser_namespaceObject = {};
29638
- __webpack_require__.r(ua_parser_namespaceObject);
29639
-
29640
29636
  ;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
29641
29637
  /* eslint-disable no-var */
29642
29638
  // This file is imported into lib/wc client bundles.
@@ -32321,14 +32317,18 @@ const loginAccount = async (data, appid) => {
32321
32317
  if (key_code == data.password) {
32322
32318
  pwd_code = window.appSdk.Encrypt(pwd_code);
32323
32319
  data.password = pwd_code;
32324
- result = await request.post(`/system/authority/loginAccount4Application?authPicCode=${data.imageCode}&dataappId=${appid}&mobileOrWeb=web`, data);
32320
+ // result = await request.post(
32321
+ // `/system/authority/loginAccount4Application?authPicCode=${data.imageCode}&dataappId=${appid}&mobileOrWeb=web`,
32322
+ // data
32323
+ // );
32324
+ result = await request.post(`/system/authority/loginAccount4Application?dataappId=${appid}&mobileOrWeb=web`, data);
32325
32325
  response = JSON.parse(result.request.response);
32326
32326
  code = response.code;
32327
32327
  //登录平台成功
32328
32328
  if (code == 10110004) {
32329
32329
  let id = response.id;
32330
32330
  // 初始化解析器
32331
- const parser = new ua_parser_namespaceObject["default"]();
32331
+ const parser = new UAParser();
32332
32332
  // 获取浏览器信息
32333
32333
  const browser = parser.getBrowser();
32334
32334
  let timestamp = new Date().getTime();