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 d905825bb566a207133c71b12417bd7b2548aa79..d15fe00c325802b18c73548db18fb3d1df6ef926 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({