{
"module": {
"name": "entry",
"type": "entry",
"description": "$string:module_desc",
"mainElement": "EntryAbility",
"deviceTypes": [
"phone"
],
"deliveryWithInstall": true,
"installationFree": false,
"pages": "$profile:main_pages",
"virtualMachine": "ark",
"abilities": [
{
"name": "EntryAbility",
"srcEntry": "",
"startWindowIcon": "$media:startIcon",
"startWindowBackground": "$color:start_window_background",
"exported": true,
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"ohos.want.action.home"
]
}
]
}
],
"requestPermissions": [
{
"name": "ohos.permission.MICROPHONE",
"reason": "$string:get_camera_tips",
"usedScene": {
"abilities": [
"FormAbility"
],
"when":"inuse"
}
}
]
},
// "targetModuleName": "feature",
// "targetPriority": 50,
// "isolationMode": "nonisolationFirst"
}

- 发布:2025-05-27 12:12
- 更新:2025-05-27 14:04
- 阅读:27
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: m2
HBuilderX类型: 正式
HBuilderX版本号: 4.65
手机系统: HarmonyOS NEXT
手机系统版本号: HarmonyOS 5.0.1
手机厂商: 华为
手机机型: nova13
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
正常操作
正常操作
预期结果:
成功进入开屏页
成功进入开屏页
实际结果:
一直卡在开屏页
一直卡在开屏页
bug描述:
在配置完module.json5后真机运行,就一直卡在开屏页,就没反应了,我去看了鸿蒙文档module.json5里面也没有找到关于开屏页的配置,还是module.json5里配置有错误?我把module.json5代码放下面