Skip to content

Commit

Permalink
Merge pull request #6225 from yongyiduan/issue_6224
Browse files Browse the repository at this point in the history
feat: 【研发商店】当插件输入组件类型为 key-value-normal 时,YAML片段优化 #6224
  • Loading branch information
royalhuang authored Mar 2, 2022
2 parents 4769f46 + 3d0e080 commit 3d08b01
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1228,10 +1228,13 @@ abstract class MarketAtomServiceImpl @Autowired constructor() : MarketAtomServic
)
sb.append("\r\n")
sb.append(" $paramKey: ")
if (type == "atom-checkbox") {
sb.append("boolean")
} else {
sb.append("string")
when (type) {
"atom-checkbox" -> sb.append("boolean")
"key-value-normal" -> sb.append(
"\n - key: string" +
"\n value: string"
)
else -> sb.append("string")
}
sb.append("\r\n")
}
Expand Down

0 comments on commit 3d08b01

Please sign in to comment.