怎么隐藏ONES左侧导航栏?
怎么隐藏ONES左侧导航栏?
这个很简单:
使用它的方法很简单,例如,要访问测试计划页面,你需要在地址栏中输入以下地址:
https://ones.com/project/#/testcase/team/${teamUUID}/plan
当你想要以全屏形式访问测试计划页面时,只需键入:
https://ones.com/project/#/testcase/team/${teamUUID}/plan?allow=fullscreen
你只需在正常访问地址后添加查询参数 allow=fullscreen
即可。
提示:
如果你想退出全屏模式,只需清除地址栏上的 allow=fullscreen
查询参数,刷新页面即可。
下面这2个都能实现隐藏。
第一种方式:
https://developer.ones.cn/zh-CN/docs/abilities/basic/full-screen

第二种方式:
https://developer.ones.cn/zh-CN/docs/abilities/slot/global/layout-sider/
支持的配置项:
disabled: true