@dcloudio/uni-quickapp-webview 3.0.0-alpha-3021320211118002 → 3.0.0-alpha-3021320211119002
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/uni.mp.esm.js +4 -2
- package/package.json +5 -5
package/dist/uni.mp.esm.js
CHANGED
|
@@ -201,7 +201,9 @@ function createEmitFn(oldEmit, ctx) {
|
|
|
201
201
|
const scope = ctx.$scope;
|
|
202
202
|
if (scope && event) {
|
|
203
203
|
const detail = { __args__: args };
|
|
204
|
-
|
|
204
|
+
{
|
|
205
|
+
scope.triggerEvent(event, detail);
|
|
206
|
+
}
|
|
205
207
|
}
|
|
206
208
|
return oldEmit.apply(this, [event, ...args]);
|
|
207
209
|
};
|
|
@@ -256,7 +258,7 @@ function initMocks(instance, mpInstance, mocks) {
|
|
|
256
258
|
const ctx = instance.ctx;
|
|
257
259
|
mocks.forEach((mock) => {
|
|
258
260
|
if (hasOwn(mpInstance, mock)) {
|
|
259
|
-
ctx[mock] = mpInstance[mock];
|
|
261
|
+
instance[mock] = ctx[mock] = mpInstance[mock];
|
|
260
262
|
}
|
|
261
263
|
});
|
|
262
264
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-quickapp-webview",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3021320211119002",
|
|
4
4
|
"description": "uni-app quickapp-webview",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"@vue/compiler-core": "3.2.22"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@dcloudio/uni-cli-shared": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-mp-vite": "3.0.0-alpha-
|
|
30
|
-
"@dcloudio/uni-mp-vue": "3.0.0-alpha-
|
|
31
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
28
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3021320211119002",
|
|
29
|
+
"@dcloudio/uni-mp-vite": "3.0.0-alpha-3021320211119002",
|
|
30
|
+
"@dcloudio/uni-mp-vue": "3.0.0-alpha-3021320211119002",
|
|
31
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3021320211119002",
|
|
32
32
|
"@vue/shared": "3.2.22"
|
|
33
33
|
}
|
|
34
34
|
}
|