mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +08:00
fix(editor): 获取关联组件的方法默认值
This commit is contained in:
parent
9c7d711c16
commit
f5742c107a
@ -57,7 +57,7 @@ class Events extends BaseService {
|
||||
}
|
||||
|
||||
public getMethod(type: string) {
|
||||
return cloneDeep(methodMap[toLine(type)]);
|
||||
return cloneDeep(methodMap[toLine(type)]) || [];
|
||||
}
|
||||
|
||||
public resetState() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user