@dcloudio/uni-quickapp-webview 2.0.1-alpha-35120220701001 → 2.0.1-alpha-35220220715001
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 +3 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1829,7 +1829,9 @@ function handleEvent (event) {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
const handler = handlerCtx[methodName];
|
|
1831
1831
|
if (!isFn(handler)) {
|
|
1832
|
-
|
|
1832
|
+
const type = this.$vm.mpType === 'page' ? 'Page' : 'Component';
|
|
1833
|
+
const path = this.route || this.is;
|
|
1834
|
+
throw new Error(`${type} "${path}" does not have a method "${methodName}"`)
|
|
1833
1835
|
}
|
|
1834
1836
|
if (isOnce) {
|
|
1835
1837
|
if (handler.once) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-quickapp-webview",
|
|
3
|
-
"version": "2.0.1-alpha-
|
|
3
|
+
"version": "2.0.1-alpha-35220220715001",
|
|
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": "7a3d8f9a6ef56cf82b0ef5c5a36b4cae6103df3f"
|
|
21
21
|
}
|