Skip to content

Commit e179a6d

Browse files
committed
new version: 1.0.8
1 parent 97bced4 commit e179a6d

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

packages/mpvue-template-compiler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mpvue-template-compiler",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "mpvue template compiler for Vue",
55
"main": "index.js",
66
"repository": {

packages/mpvue/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4144,7 +4144,7 @@ Object.defineProperty(Vue$3.prototype, '$ssrContext', {
41444144
});
41454145

41464146
Vue$3.version = '2.4.1';
4147-
Vue$3.mpvueVersion = '1.0.7';
4147+
Vue$3.mpvueVersion = '1.0.8';
41484148

41494149
/* globals renderer */
41504150

@@ -5424,6 +5424,11 @@ function handleProxyWithVue (e) {
54245424
if (handles.length) {
54255425
var event = getWebEventByMP(e);
54265426
handles.forEach(function (h) { return h(event); });
5427+
} else {
5428+
var currentPage = vm.$mp.page.route;
5429+
console.group(new Date() + ' 事件警告');
5430+
console.warn(("Do not have handler in current page: " + currentPage + ". Please make sure that handler has been defined in " + currentPage + ", or " + currentPage + " has been added into app.json"));
5431+
console.groupEnd();
54275432
}
54285433
}
54295434

packages/mpvue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mpvue",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "Vue Runtime for mini program",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)