/** * @description 富文本编辑器, 参考文档:http://www.wangeditor.com/index.html */ import { Model } from "./Model" import { ComponentFunc } from "../../base" import { Service } from './Service' import { IProps } from "../../../@types/CodeEditor" import React from "react" export const CodeEditor = function (props: IProps, bool?: boolean): any { if (typeof bool !== "boolean") { const Template: any = ComponentFunc({ props, bool: true, Model, Service }) return