diff --git a/packages/uni-app-plus/dist/index.js b/packages/uni-app-plus/dist/index.js index cab56e940d04d8948de64d7abea8565f905cbe4a..e9385c5214d6094040d41f1e39039dab03f8ac39 100644 --- a/packages/uni-app-plus/dist/index.js +++ b/packages/uni-app-plus/dist/index.js @@ -781,7 +781,8 @@ function handleEvent (event) { }); } -const hooks = [ +const hooks = [ + 'onShow', 'onHide', 'onError', 'onPageNotFound' diff --git a/packages/uni-app-plus/package.json b/packages/uni-app-plus/package.json index 07652a3822142be070bdade5cb6e2942a1f48d86..4d3f887507947ad8349e0f0cfac0741a325473df 100644 --- a/packages/uni-app-plus/package.json +++ b/packages/uni-app-plus/package.json @@ -1,6 +1,6 @@ { "name": "@dcloudio/uni-app-plus", - "version": "0.0.233", + "version": "0.0.234", "description": "uni-app app-plus", "main": "dist/index.js", "scripts": { diff --git a/packages/uni-mp-alipay/dist/index.js b/packages/uni-mp-alipay/dist/index.js index 8e6b98482cd8565a222668cfb6ea77ec69465bab..b5298dab1f8562d5c48aa936ec8684a1de57e28c 100644 --- a/packages/uni-mp-alipay/dist/index.js +++ b/packages/uni-mp-alipay/dist/index.js @@ -1091,7 +1091,8 @@ function handleEvent (event) { }); } -const hooks = [ +const hooks = [ + 'onShow', 'onHide', 'onError', 'onPageNotFound' @@ -1297,7 +1298,6 @@ function initChildVues (mpInstance) { initChildVues(childMPInstance); - console.log(childMPInstance.is, 'mounted'); childMPInstance.$vm._isMounted = true; childMPInstance.$vm.__call_hook('mounted'); childMPInstance.$vm.__call_hook('onReady'); @@ -1451,7 +1451,6 @@ function parsePage (vuePageOptions) { }, onReady () { initChildVues(this); - console.log(this.route, 'mounted'); this.$vm._isMounted = true; this.$vm.__call_hook('mounted'); this.$vm.__call_hook('onReady'); @@ -1520,7 +1519,6 @@ function initVm (VueComponent) { initChildVues(this); - console.log(this.is, 'mounted'); this.$vm._isMounted = true; this.$vm.__call_hook('mounted'); this.$vm.__call_hook('onReady'); diff --git a/packages/uni-mp-alipay/package.json b/packages/uni-mp-alipay/package.json index 86c89dd389b9c15ee50205865705a1776dac65b1..df3f736d7510ffa0f9f5be48dbf31cfbec1475f4 100644 --- a/packages/uni-mp-alipay/package.json +++ b/packages/uni-mp-alipay/package.json @@ -1,6 +1,6 @@ { "name": "@dcloudio/uni-mp-alipay", - "version": "0.0.804", + "version": "0.0.805", "description": "uni-app mp-alipay", "main": "dist/index.js", "scripts": { diff --git a/packages/uni-mp-baidu/dist/index.js b/packages/uni-mp-baidu/dist/index.js index 6d2beddfcd7f3e7e14f7c3c301181516c61c4b7b..b2f4b25701fb6a330ddc0f20701242645256efab 100644 --- a/packages/uni-mp-baidu/dist/index.js +++ b/packages/uni-mp-baidu/dist/index.js @@ -908,7 +908,8 @@ function handleEvent (event) { }); } -const hooks = [ +const hooks = [ + 'onShow', 'onHide', 'onError', 'onPageNotFound' diff --git a/packages/uni-mp-baidu/package.json b/packages/uni-mp-baidu/package.json index 9265a43a1ec8afe33b4fa17eff3fa2d1479df677..b83c482d223a136687e8cc274d1de57fb52375d4 100644 --- a/packages/uni-mp-baidu/package.json +++ b/packages/uni-mp-baidu/package.json @@ -1,6 +1,6 @@ { "name": "@dcloudio/uni-mp-baidu", - "version": "0.0.831", + "version": "0.0.832", "description": "uni-app mp-baidu", "main": "dist/index.js", "scripts": { diff --git a/packages/uni-mp-toutiao/dist/index.js b/packages/uni-mp-toutiao/dist/index.js index 28038faeaa712116c3d36eca3b02407eff75975c..17662aee75e6856e838a794b972cf3466fffbb0d 100644 --- a/packages/uni-mp-toutiao/dist/index.js +++ b/packages/uni-mp-toutiao/dist/index.js @@ -927,7 +927,8 @@ function handleEvent (event) { }); } -const hooks = [ +const hooks = [ + 'onShow', 'onHide', 'onError', 'onPageNotFound' diff --git a/packages/uni-mp-toutiao/package.json b/packages/uni-mp-toutiao/package.json index 12d8f493dcfd11b0d66c007df19c2752ab3c2f97..35a67697223211f3042909f36444de6ee6877c96 100644 --- a/packages/uni-mp-toutiao/package.json +++ b/packages/uni-mp-toutiao/package.json @@ -1,6 +1,6 @@ { "name": "@dcloudio/uni-mp-toutiao", - "version": "0.0.329", + "version": "0.0.330", "description": "uni-app mp-toutiao", "main": "dist/index.js", "scripts": { diff --git a/packages/uni-mp-weixin/dist/index.js b/packages/uni-mp-weixin/dist/index.js index e15a41955c3e8a84b98c2fbd728f2fb83ed41aff..d42aa41f9eef6fd601a4a38a5bd614b60254854a 100644 --- a/packages/uni-mp-weixin/dist/index.js +++ b/packages/uni-mp-weixin/dist/index.js @@ -784,7 +784,8 @@ function handleEvent (event) { }); } -const hooks = [ +const hooks = [ + 'onShow', 'onHide', 'onError', 'onPageNotFound' diff --git a/packages/uni-mp-weixin/package.json b/packages/uni-mp-weixin/package.json index e0a14afd28ae7d6d1c559306b80072cde7f990ca..7f59e483cb7a88bb4b502c6ebee790f5ea55189a 100644 --- a/packages/uni-mp-weixin/package.json +++ b/packages/uni-mp-weixin/package.json @@ -1,6 +1,6 @@ { "name": "@dcloudio/uni-mp-weixin", - "version": "0.0.953", + "version": "0.0.954", "description": "uni-app mp-weixin", "main": "dist/index.js", "scripts": { diff --git a/src/platforms/mp-alipay/runtime/wrapper/component-parser.js b/src/platforms/mp-alipay/runtime/wrapper/component-parser.js index 91e567350f733c8e21f7b8def93bcf539bc1001d..0782610dc43eb25ac247a1872cab1cd5c1db97bf 100644 --- a/src/platforms/mp-alipay/runtime/wrapper/component-parser.js +++ b/src/platforms/mp-alipay/runtime/wrapper/component-parser.js @@ -64,7 +64,6 @@ function initVm (VueComponent) { initChildVues(this) - console.log(this.is, 'mounted') this.$vm._isMounted = true this.$vm.__call_hook('mounted') this.$vm.__call_hook('onReady') diff --git a/src/platforms/mp-alipay/runtime/wrapper/page-parser.js b/src/platforms/mp-alipay/runtime/wrapper/page-parser.js index 21573cf739829ebfdeebef0c6164c1834d65aee7..5cc79a6928f3a4c6c2d68e2255a77b0ca43027df 100644 --- a/src/platforms/mp-alipay/runtime/wrapper/page-parser.js +++ b/src/platforms/mp-alipay/runtime/wrapper/page-parser.js @@ -54,7 +54,6 @@ export default function parsePage (vuePageOptions) { }, onReady () { initChildVues(this) - console.log(this.route, 'mounted') this.$vm._isMounted = true this.$vm.__call_hook('mounted') this.$vm.__call_hook('onReady') diff --git a/src/platforms/mp-alipay/runtime/wrapper/util.js b/src/platforms/mp-alipay/runtime/wrapper/util.js index 6af6aeefb0f6258418c05bc8442ce030dbf9e645..a69ce02df73dae621ee006324b1ce3ae0a18aa18 100644 --- a/src/platforms/mp-alipay/runtime/wrapper/util.js +++ b/src/platforms/mp-alipay/runtime/wrapper/util.js @@ -69,7 +69,6 @@ export function initChildVues (mpInstance) { initChildVues(childMPInstance) - console.log(childMPInstance.is, 'mounted') childMPInstance.$vm._isMounted = true childMPInstance.$vm.__call_hook('mounted') childMPInstance.$vm.__call_hook('onReady') diff --git a/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js b/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js index 6feb2fd34a8dd62f8b6b9e24303dbf0b6eaeb278..7ef9f088367aba13764cb48b4176e599ab67f02d 100644 --- a/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js +++ b/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js @@ -5,7 +5,8 @@ import { initMocks } from 'uni-wrapper/util' -const hooks = [ +const hooks = [ + 'onShow', 'onHide', 'onError', 'onPageNotFound'