mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:18:03 +08:00
Merge branch 'pre-release' of ssh://icode.baidu.com:8235/baidu/amis/editor into pre-release
Change-Id: Ie1fdd8c4ffc5e8e27cfecfc8021541d0db3d8e64
This commit is contained in:
commit
4e67c09731
@ -67,7 +67,7 @@ export default [
|
||||
maxSize: 10
|
||||
})
|
||||
]
|
||||
}),
|
||||
})
|
||||
])
|
||||
},
|
||||
{
|
||||
@ -97,7 +97,8 @@ function transpileDynamicImportForCJS(options) {
|
||||
|
||||
return {
|
||||
left: 'Promise.resolve().then(function() {return new Promise(function(fullfill) {require([',
|
||||
right: '], function(mod) {fullfill(tslib.__importStar(mod))})})})'
|
||||
right:
|
||||
'], function(mod) {fullfill(require("tslib").__importStar(mod))})})})'
|
||||
};
|
||||
|
||||
// return {
|
||||
|
@ -1864,11 +1864,9 @@ export class EditorManager {
|
||||
) {
|
||||
originHook?.(e, component, scoped, data, broadcasts);
|
||||
|
||||
if (component.props.$$id) {
|
||||
const node = this.store.getNodeById(
|
||||
component.props.$$id,
|
||||
component.props.type
|
||||
);
|
||||
const id = component.props.$$id || component.props.$$editor?.id;
|
||||
if (id) {
|
||||
const node = this.store.getNodeById(id, component.props.type);
|
||||
node?.info?.plugin?.rendererBeforeDispatchEvent?.(
|
||||
node,
|
||||
e,
|
||||
|
Loading…
Reference in New Issue
Block a user