mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +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) {
|
public getMethod(type: string) {
|
||||||
return cloneDeep(methodMap[toLine(type)]);
|
return cloneDeep(methodMap[toLine(type)]) || [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public resetState() {
|
public resetState() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user