@dcloudio/uni-quickapp-webview 2.0.2-4030620241128001 → 2.0.2-4040420241231001

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -8
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -404,11 +404,7 @@ let deviceWidth = 0;
404
404
  let deviceDPR = 0;
405
405
 
406
406
  function checkDeviceWidth () {
407
- const {
408
- platform,
409
- pixelRatio,
410
- windowWidth
411
- } = qa.getSystemInfoSync(); // uni=>qa runtime 编译目标是 uni 对象,内部不允许直接使用 uni
407
+ const { windowWidth, pixelRatio, platform } = qa.getSystemInfoSync(); // uni=>qa runtime 编译目标是 uni 对象,内部不允许直接使用 uni
412
408
 
413
409
  deviceWidth = windowWidth;
414
410
  deviceDPR = pixelRatio;
@@ -450,7 +446,7 @@ const messages = {};
450
446
  let locale;
451
447
 
452
448
  {
453
- locale = normalizeLocale(qa.getSystemInfoSync().language) || LOCALE_EN;
449
+ locale = normalizeLocale( qa.getSystemInfoSync().language) || LOCALE_EN;
454
450
  }
455
451
 
456
452
  function initI18nMessages () {
@@ -576,7 +572,7 @@ function getLocale$1 () {
576
572
  return app.$vm.$locale
577
573
  }
578
574
  }
579
- return normalizeLocale(qa.getSystemInfoSync().language) || LOCALE_EN
575
+ return normalizeLocale( qa.getSystemInfoSync().language) || LOCALE_EN
580
576
  }
581
577
 
582
578
  function setLocale$1 (locale) {
@@ -2136,7 +2132,7 @@ function parseBaseApp (vm, {
2136
2132
  });
2137
2133
  }
2138
2134
 
2139
- initAppLocale(Vue, vm, normalizeLocale(qa.getSystemInfoSync().language) || LOCALE_EN);
2135
+ initAppLocale(Vue, vm, normalizeLocale(qa.getSystemInfoSync().language) || LOCALE_EN);
2140
2136
 
2141
2137
  initHooks(appOptions, hooks);
2142
2138
  initUnknownHooks(appOptions, vm.$options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-quickapp-webview",
3
- "version": "2.0.2-4030620241128001",
3
+ "version": "2.0.2-4040420241231001",
4
4
  "description": "uni-app quickapp-webview",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -17,5 +17,5 @@
17
17
  "name": "quickapp-webview",
18
18
  "title": "快应用(Webview)版"
19
19
  },
20
- "gitHead": "260d428e1b77f54051f87b758586e3333ca58619"
20
+ "gitHead": "f5a282a67f3eda3204e8fa48882b129f47c17cd3"
21
21
  }