diff --git a/build/cool/lib/menu/index.ts b/build/cool/lib/menu/index.ts index f18baf6..a2a666a 100644 --- a/build/cool/lib/menu/index.ts +++ b/build/cool/lib/menu/index.ts @@ -232,7 +232,9 @@ export async function createMenu({ router, columns, prefix, api, filePath }: any upsert.items.push(format(item)); } - if (!["cl-codemirror", "cl-editor-quill"].includes(column.component?.name)) { + if ( + !["cl-codemirror", "cl-editor-quill", "cl-editor-wang"].includes(column.component?.name) + ) { table.columns.push(format(column)); } }); diff --git a/build/cool/lib/menu/rules.ts b/build/cool/lib/menu/rules.ts index 0541686..289b4ed 100644 --- a/build/cool/lib/menu/rules.ts +++ b/build/cool/lib/menu/rules.ts @@ -177,11 +177,8 @@ export default [ }, { test: ["rich", "text", "html", "content", "introduce", "description", "desc"], - table: { - name: "cl-editor-quill" - }, form: { - name: "cl-editor-quill", + name: "cl-editor-wang", props: { height: 400 } @@ -189,9 +186,6 @@ export default [ }, { test: ["code", "codes"], - table: { - name: "cl-codemirror" - }, form: { name: "cl-codemirror", props: { diff --git a/src/modules/base/components/editor/wang.vue b/src/modules/base/components/editor/wang.vue index cd763c4..2de724d 100644 --- a/src/modules/base/components/editor/wang.vue +++ b/src/modules/base/components/editor/wang.vue @@ -37,9 +37,10 @@