diff --git a/src/const/tool/model.js b/src/const/tool/model.js index 1883012..fea7b3e 100644 --- a/src/const/tool/model.js +++ b/src/const/tool/model.js @@ -49,6 +49,10 @@ export const componentDic = [ label: "多行文本", value: "textarea" }, + { + label: "富文本", + value: "editor" + }, { label: "下拉选项", value: "select" diff --git a/src/views/tool/model.vue b/src/views/tool/model.vue index f4b346e..764ecc8 100644 --- a/src/views/tool/model.vue +++ b/src/views/tool/model.vue @@ -67,7 +67,6 @@ import { import {entityDic, option, optionModel} from "@/const/tool/model"; import {validatenull} from "@/util/validate"; import {mapGetters} from "vuex"; -import {clearCache} from "@/api/user"; export default { data() {