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