Commit 97e2aed5a3a87ea9a5ff269ccb0f1006820a0be2
1 parent
2ca1e6a1
fix: bind data source single click && double click event error
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | ... | @@ -5941,7 +5941,7 @@ DataFormatPanel.prototype.addDataFont = function (container) { | 
| 5941 | 5941 | * @description 回显数据 | 
| 5942 | 5942 | */ | 
| 5943 | 5943 | function echoFormData(data) { | 
| 5944 | - const { content } = data | |
| 5944 | + const { content = {} } = data | |
| 5945 | 5945 | const val = { | 
| 5946 | 5946 | [enumConst.ACTION]: content.type, | 
| 5947 | 5947 | [enumGetValue[content.type]]: content.value, | 
| ... | ... | @@ -11317,6 +11317,7 @@ class DispatchCenter { | 
| 11317 | 11317 | if (!id) return | 
| 11318 | 11318 | if (!DispatchCenter.instance || DispatchCenter.rawContentId !== id) { | 
| 11319 | 11319 | DispatchCenter.instance?.dynamicEffectInstance?.cleanSetInterval?.() | 
| 11320 | + DispatchCenter.instance?.updateQueueInstance?.cleanAllUpdateQueue?.() | |
| 11320 | 11321 | DispatchCenter.instance = new DispatchCenter(editorUi, currentPage) | 
| 11321 | 11322 | DispatchCenter.rawContentId = id | 
| 11322 | 11323 | } | ... | ... |