update MainAbility/app.js.

Signed-off-by: 于小雅 <yuxiaoya@huawei.com>
This commit is contained in:
于小雅 2023-03-16 06:51:28 +00:00 committed by Gitee
parent d9110190e2
commit 949fa0bfb9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -28,7 +28,7 @@ export default {
context.requestPermissionsFromUser(['ohos.permission.DISTRIBUTED_DATASYNC'], 666, function (result) {
console.info('Calc[IndexPage] grantPermission,requestPermissionsFromUser,'+result.requestCode);
setTimeout(()=>{
require('./test/List.test');
require('../test/List.test');
core.execute();
},1000)
})