中国优质的IT技术网站
专业IT技术创作平台
IT职业在线教育平台
是不是目前还不支持啊
微信扫码分享
在config.json的配置文件下修改orientation的值为landscape:
"abilities": [
{
"skills": [
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
"orientation": "landscape",
"visible": true,
"srcPath": "MainAbility",
"name": ".MainAbility",
"srcLanguage": "js",
"icon": "$media:icon",
"description": "$string:description_mainability",
"formsEnabled": false,
"label": "$string:entry_MainAbility",
"type": "page",
"launchType": "standard"
在config.json的配置文件下修改orientation的值为landscape:
"abilities": [
{
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
],
"orientation": "landscape",
"visible": true,
"srcPath": "MainAbility",
"name": ".MainAbility",
"srcLanguage": "js",
"icon": "$media:icon",
"description": "$string:description_mainability",
"formsEnabled": false,
"label": "$string:entry_MainAbility",
"type": "page",
"launchType": "standard"
}
],