mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改事件类型错误
This commit is contained in:
+4
-1
@@ -223,7 +223,10 @@ const saveEvents = () => {
|
||||
}
|
||||
if (Object.values(advancedEvents.value).join('').trim() === '') {
|
||||
// 清空事件
|
||||
targetData.value.events.advancedEvents = undefined
|
||||
targetData.value.events.advancedEvents = {
|
||||
vnodeBeforeMount: undefined,
|
||||
vnodeMounted: undefined,
|
||||
}
|
||||
} else {
|
||||
targetData.value.events.advancedEvents = { ...advancedEvents.value }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user