fix(editor): 获取关联组件的方法默认值
This commit is contained in:
@@ -57,7 +57,7 @@ class Events extends BaseService {
|
||||
}
|
||||
|
||||
public getMethod(type: string) {
|
||||
return cloneDeep(methodMap[toLine(type)]);
|
||||
return cloneDeep(methodMap[toLine(type)]) || [];
|
||||
}
|
||||
|
||||
public resetState() {
|
||||
|
||||
Reference in New Issue
Block a user