From 043824aaffacc55fdae0e0400b3940321d38888d Mon Sep 17 00:00:00 2001 From: corala <18339694416@163.com> Date: Wed, 28 Sep 2022 14:57:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=99=E6=80=81=E9=A1=B5=E9=9D=A2=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/customer/addCustomer.vue | 7 ------- src/pages/customer/addLedlook.vue | 6 ------ src/pages/my/applyHistory.vue | 4 ---- src/pages/my/apply_baojie.vue | 7 ------- src/pages/my/changePrice_check.vue | 4 ---- src/pages/my/contactList.vue | 4 ---- src/pages/my/contact_check.vue | 4 ---- src/pages/my/electContract.vue | 7 ------- src/pages/my/goonContract.vue | 4 ---- src/pages/my/modifyPassword.vue | 8 +------- src/pages/my/myapply.vue | 6 +----- src/pages/my/mytodo.vue | 6 +----- src/pages/my/mywarReport.vue | 3 --- src/pages/my/networkquery.vue | 4 ---- src/pages/my/networkquery_detail.vue | 3 --- src/pages/my/rentReceive.vue | 3 --- src/pages/my/repairlist.vue | 3 --- src/pages/otherPage/companywarReport.vue | 4 +--- src/pages/tabs/customer.vue | 3 --- src/pages/tabs/gonggao.vue | 4 ---- src/pages/tabs/index.vue | 6 ------ src/pages/tabs/login.vue | 3 +-- src/pages/tabs/me.vue | 3 --- 23 files changed, 5 insertions(+), 101 deletions(-) diff --git a/src/pages/customer/addCustomer.vue b/src/pages/customer/addCustomer.vue index b0611e4..3d81336 100644 --- a/src/pages/customer/addCustomer.vue +++ b/src/pages/customer/addCustomer.vue @@ -127,13 +127,6 @@ ) }, }, - - onLoad: function(options) { - }, - onHide: function() {}, - // 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕 - onReady() { - } }; diff --git a/src/pages/customer/addLedlook.vue b/src/pages/customer/addLedlook.vue index c0a54da..d8974cf 100644 --- a/src/pages/customer/addLedlook.vue +++ b/src/pages/customer/addLedlook.vue @@ -103,12 +103,6 @@ }, }, - onLoad: function(options) { - }, - onHide: function() {}, - // 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕 - onReady() { - } }; diff --git a/src/pages/my/applyHistory.vue b/src/pages/my/applyHistory.vue index 4248915..f54080f 100644 --- a/src/pages/my/applyHistory.vue +++ b/src/pages/my/applyHistory.vue @@ -38,10 +38,6 @@ }, methods: {}, - - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/my/apply_baojie.vue b/src/pages/my/apply_baojie.vue index f1d8a29..52d5600 100644 --- a/src/pages/my/apply_baojie.vue +++ b/src/pages/my/apply_baojie.vue @@ -110,13 +110,6 @@ }, }, - - onLoad: function(options) { - }, - onHide: function() {}, - // 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕 - onReady() { - } }; diff --git a/src/pages/my/changePrice_check.vue b/src/pages/my/changePrice_check.vue index 7892c29..25e4d2b 100644 --- a/src/pages/my/changePrice_check.vue +++ b/src/pages/my/changePrice_check.vue @@ -55,10 +55,6 @@ methods: { }, - - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/my/contactList.vue b/src/pages/my/contactList.vue index c8d00df..6febe94 100644 --- a/src/pages/my/contactList.vue +++ b/src/pages/my/contactList.vue @@ -71,10 +71,6 @@ }, methods: {}, - - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/my/contact_check.vue b/src/pages/my/contact_check.vue index 9b300be..627f162 100644 --- a/src/pages/my/contact_check.vue +++ b/src/pages/my/contact_check.vue @@ -94,10 +94,6 @@ this.showToast() } }, - - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/my/electContract.vue b/src/pages/my/electContract.vue index 6a171b5..9cb6192 100644 --- a/src/pages/my/electContract.vue +++ b/src/pages/my/electContract.vue @@ -376,13 +376,6 @@ console.log(this.form.sex) }, }, - - onLoad: function(options) { - }, - onHide: function() {}, - // 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕 - onReady() { - } }; diff --git a/src/pages/my/goonContract.vue b/src/pages/my/goonContract.vue index d1f7b35..0a5f34e 100644 --- a/src/pages/my/goonContract.vue +++ b/src/pages/my/goonContract.vue @@ -72,10 +72,6 @@ } } }, - - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/my/modifyPassword.vue b/src/pages/my/modifyPassword.vue index ae6a9f6..1cf924e 100644 --- a/src/pages/my/modifyPassword.vue +++ b/src/pages/my/modifyPassword.vue @@ -52,13 +52,7 @@ }, }, - - onLoad: function(options) { - }, - onHide: function() {}, - // 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕 - onReady() { - } +x }; diff --git a/src/pages/my/myapply.vue b/src/pages/my/myapply.vue index b4c3475..db64b27 100644 --- a/src/pages/my/myapply.vue +++ b/src/pages/my/myapply.vue @@ -41,11 +41,7 @@ }) } - }, - - onLoad: function(options) { - }, - onHide: function() {}, + } }; diff --git a/src/pages/my/mytodo.vue b/src/pages/my/mytodo.vue index e9ed4f4..9ca403a 100644 --- a/src/pages/my/mytodo.vue +++ b/src/pages/my/mytodo.vue @@ -52,11 +52,7 @@ url: '/pages/my/'+page }) } - }, - - onLoad: function(options) { - }, - onHide: function() {}, + } }; diff --git a/src/pages/my/mywarReport.vue b/src/pages/my/mywarReport.vue index 6e26e47..1e5cd67 100644 --- a/src/pages/my/mywarReport.vue +++ b/src/pages/my/mywarReport.vue @@ -51,9 +51,6 @@ }, - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/my/networkquery.vue b/src/pages/my/networkquery.vue index 19af688..c9842cd 100644 --- a/src/pages/my/networkquery.vue +++ b/src/pages/my/networkquery.vue @@ -49,10 +49,6 @@ wx.navigateBack() } }, - - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/my/networkquery_detail.vue b/src/pages/my/networkquery_detail.vue index e7217b3..18ba17d 100644 --- a/src/pages/my/networkquery_detail.vue +++ b/src/pages/my/networkquery_detail.vue @@ -46,9 +46,6 @@ methods: { }, - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/my/rentReceive.vue b/src/pages/my/rentReceive.vue index c944d91..c314efc 100644 --- a/src/pages/my/rentReceive.vue +++ b/src/pages/my/rentReceive.vue @@ -67,9 +67,6 @@ }, - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/my/repairlist.vue b/src/pages/my/repairlist.vue index 4862e5c..c2e08fc 100644 --- a/src/pages/my/repairlist.vue +++ b/src/pages/my/repairlist.vue @@ -89,9 +89,6 @@ } }, - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/otherPage/companywarReport.vue b/src/pages/otherPage/companywarReport.vue index 2f1438d..0daa6b3 100644 --- a/src/pages/otherPage/companywarReport.vue +++ b/src/pages/otherPage/companywarReport.vue @@ -73,9 +73,7 @@ this.current = index }, }, - onLoad: function(options) { - }, - onHide: function() {}, + }; diff --git a/src/pages/tabs/customer.vue b/src/pages/tabs/customer.vue index eefab53..af615bc 100644 --- a/src/pages/tabs/customer.vue +++ b/src/pages/tabs/customer.vue @@ -103,9 +103,6 @@ } }, - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/tabs/gonggao.vue b/src/pages/tabs/gonggao.vue index 1b69436..e5c1985 100644 --- a/src/pages/tabs/gonggao.vue +++ b/src/pages/tabs/gonggao.vue @@ -47,10 +47,6 @@ }, methods: {}, - - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/tabs/index.vue b/src/pages/tabs/index.vue index 3635798..83310e0 100644 --- a/src/pages/tabs/index.vue +++ b/src/pages/tabs/index.vue @@ -129,12 +129,6 @@ }) }, }, - onShareAppMessage(){ - - }, - onLoad: function(options) { - }, - onHide: function() {}, }; diff --git a/src/pages/tabs/login.vue b/src/pages/tabs/login.vue index 7352fde..c61fa6e 100644 --- a/src/pages/tabs/login.vue +++ b/src/pages/tabs/login.vue @@ -116,8 +116,7 @@ export default { // }, - onLoad: function(options) {}, - onHide: function() { + onHide() { clearInterval(this.timer); }, destroyed() { diff --git a/src/pages/tabs/me.vue b/src/pages/tabs/me.vue index a227c9f..3847163 100644 --- a/src/pages/tabs/me.vue +++ b/src/pages/tabs/me.vue @@ -90,9 +90,6 @@ }) }, }, - - onLoad: function(options) { - }, onHide: function() {}, };