fix: 解决 radio 组件无法删除, 且影响其他组件也无法删除的问题

This commit is contained in:
力皓 2021-04-14 14:48:08 +08:00
parent 936ad91913
commit f2ce27c811
2 changed files with 3 additions and 2 deletions

View File

@ -484,10 +484,11 @@ export class BuiltinSimulatorHost implements ISimulatorHost<BuiltinSimulatorProp
this._iframe?.dispatchEvent(x);
const target = e.target as HTMLElement;
// TODO: need more elegant solution to ignore click events of compoents in designer
// TODO: need more elegant solution to ignore click events of components in designer
const ignoreSelectors: any = [
'.next-input-group',
'.next-checkbox-group',
'.next-checkbox-wrapper',
'.next-date-picker',
'.next-input',
'.next-month-picker',

View File

@ -57,6 +57,6 @@
"publishConfig": {
"registry": "https://registry.npm.alibaba-inc.com"
},
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.44-beta.0/build/index.html",
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.44-beta.1/build/index.html",
"gitHead": "3bfd7df92985ec6c9d2ccb8ba95d7b0829fa2b1d"
}