perf: wangeditor

This commit is contained in:
xiaoxian521
2022-04-20 13:38:33 +08:00
parent 294e4f6601
commit 0d694e9870
6 changed files with 30 additions and 5 deletions

View File

@@ -186,6 +186,8 @@ function setFalse(Doms): any {
}
watch(instance, ({ layout }) => {
// 设置wangeditorV5主题色
body.style.setProperty("--w-e-toolbar-active-color", layout["epThemeColor"]);
switch (layout["layout"]) {
case "vertical":
toggleClass(true, isSelect, unref(verticalRef));