mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-14 04:43:14 +00:00
fix multi select
This commit is contained in:
parent
90657fb6d5
commit
dba21edfad
@ -42,10 +42,10 @@ export default class SettingsMainView extends Component {
|
||||
|
||||
let node: Node | null = this.main.nodes[0]!;
|
||||
const items = [];
|
||||
let l = 4;
|
||||
let l = 3;
|
||||
while (l-- > 0 && node) {
|
||||
const props =
|
||||
l === 3
|
||||
l === 2
|
||||
? {}
|
||||
: {
|
||||
onMouseOver: hoverNode.bind(null, node, true),
|
||||
|
||||
@ -535,7 +535,7 @@ export class SettingsMain implements SettingTarget {
|
||||
let theSame = true;
|
||||
for (let i = 1; i < l; i++) {
|
||||
const other = this.nodes[i];
|
||||
if ((other as any).componentType !== meta) {
|
||||
if (other.componentMeta !== meta) {
|
||||
theSame = false;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user