From 1030a6cfa453e92efbe7d2978abbbdc9b468a3ee Mon Sep 17 00:00:00 2001 From: bayanxing Date: Thu, 29 Sep 2022 18:21:34 +0800 Subject: [PATCH] check crash Signed-off-by: bayanxing --- .../js/MainAbility/pages/div/router/index.js | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/arkui/ace_js_attribute_api/src/main/js/MainAbility/pages/div/router/index.js b/arkui/ace_js_attribute_api/src/main/js/MainAbility/pages/div/router/index.js index d905825bb..d15fe00c3 100644 --- a/arkui/ace_js_attribute_api/src/main/js/MainAbility/pages/div/router/index.js +++ b/arkui/ace_js_attribute_api/src/main/js/MainAbility/pages/div/router/index.js @@ -18,37 +18,6 @@ export default { appData: 'localData', appVersion:'1.0', }, - onInit() { - this.appData = this.$app.$def.globalData.appData; - this.appVersion = this.$app.$def.globalData.appVersion; - }, - invokeGlobalMethod() { - this.$app.$def.globalMethod(); - }, - getAppVersion() { - this.appVersion = this.$app.$def.globalData.appVersion; - }, - onNewRequest(){ - console.info("div onNewRequest ") - }, - onStartContinuation() { - console.info('div onStartContinuation'); - return true; - }, - onRestoreData(data) { - console.info('div onRestoreData' + data); - return true; - }, - onSaveData(data) { - console.info('div onSaveData'); - return true; - }, - onCompleteContinuation(result) { - console.info('onCompleteContinuation:' + result); - }, - onConfigurationUpdated(configuration) { - console.info('ActsProcessManageJsTest onConfigurationUpdated:' + JSON.stringify(configuration)); - }, functionTest1() { var div = this.$element('div1'); div.scrollTo({ -- GitLab