mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 20:57:17 +08:00
fix: 弹窗公告显示问题
This commit is contained in:
@@ -45,7 +45,7 @@ watch(() => props.modelValue, (value) => {
|
|||||||
editorConfig.content = value
|
editorConfig.content = value
|
||||||
init()
|
init()
|
||||||
}
|
}
|
||||||
})
|
}, { deep: true })
|
||||||
watch(() => appStore.theme, (value) => {
|
watch(() => appStore.theme, (value) => {
|
||||||
editorConfig.theme = value
|
editorConfig.theme = value
|
||||||
init()
|
init()
|
||||||
@@ -54,6 +54,7 @@ watch(() => appStore.theme, (value) => {
|
|||||||
// 挂载阶段
|
// 挂载阶段
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
editorConfig.element = divRef.value
|
editorConfig.element = divRef.value
|
||||||
|
editorConfig.content = props.modelValue
|
||||||
init()
|
init()
|
||||||
})
|
})
|
||||||
// 销毁阶段
|
// 销毁阶段
|
||||||
|
Reference in New Issue
Block a user