feat(drone-dock): 搭建机巢工作台与拍摄订单UI
This commit is contained in:
@@ -58,8 +58,19 @@ final class AllFunctionsViewController: BaseViewController {
|
||||
|
||||
override func setupNavigationBar() {
|
||||
title = "全部功能"
|
||||
#if DEBUG
|
||||
navigationItem.rightBarButtonItem = UIBarButtonItem(
|
||||
title: "机巢预览", style: .plain, target: self, action: #selector(openDroneDockPreview)
|
||||
)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
@objc private func openDroneDockPreview() {
|
||||
navigationController?.pushViewController(DroneDockWorkbenchViewController(), animated: true)
|
||||
}
|
||||
#endif
|
||||
|
||||
override func setupUI() {
|
||||
view.backgroundColor = AppColor.pageBackground
|
||||
|
||||
|
||||
Reference in New Issue
Block a user