@dcloudio/uni-quickapp-webview 2.0.2-3090820231124001 → 2.0.2-4000620240325001
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.js +4 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2081,7 +2081,10 @@ function parseBaseApp (vm, {
|
|
|
2081
2081
|
|
|
2082
2082
|
delete this.$options.mpType;
|
|
2083
2083
|
delete this.$options.mpInstance;
|
|
2084
|
-
if (
|
|
2084
|
+
if (
|
|
2085
|
+
( this.mpType === 'page') &&
|
|
2086
|
+
typeof getApp === 'function'
|
|
2087
|
+
) { // hack vue-i18n
|
|
2085
2088
|
const app = getApp();
|
|
2086
2089
|
if (app.$vm && app.$vm.$i18n) {
|
|
2087
2090
|
this._i18n = app.$vm.$i18n;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-quickapp-webview",
|
|
3
|
-
"version": "2.0.2-
|
|
3
|
+
"version": "2.0.2-4000620240325001",
|
|
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": "
|
|
20
|
+
"gitHead": "2f9ba8ff3e3f185745faa67dd4eefaef7f3db374"
|
|
21
21
|
}
|