feat: 修复tconfig中没有harmony

This commit is contained in:
余泓铮
2024-09-25 12:16:16 +08:00
parent 755b97e54d
commit 2eebc4ac8a
2 changed files with 30 additions and 0 deletions

View File

@@ -762,6 +762,14 @@ func (s *StepRequest) IOS() *StepMobile {
}
}
// Harmony creates a new harmony action
func (s *StepRequest) Harmony() *StepMobile {
s.step.Harmony = &MobileUI{}
return &StepMobile{
step: s.step,
}
}
// Shell creates a new shell action
func (s *StepRequest) Shell(content string) *StepShell {
s.step.Shell = &Shell{