由于项目中需要开发一个sql语句编辑器的功能,故采用monaco editor的解决方案。 ... setValue(format(content, { indent: ' ' })) // TODO 添加格式化操作} }) ...
確定! 回上一頁