Commit c27e843
authored
fix(app-preview-importMap): Fix ImportMap Issues, Optimize Popover Trigger, and Improve Variable Binding in Preview (opentiny#1676)
1、修复内置importMap导致没有element-plus组件库的问题,采用和页面预览相同的动态获取依赖集合的方法
2、优化点击预览图标时trigger为click点击后不会自动关闭的问题,改为使用hover方式打开poper
3、解决打开绑定变量弹窗,绑定的变量不会回显的问题,由于object,keys(modelvalue).length === 2,如果是双向绑定这个条件不成立,因此不能回显,修改为<=31 parent 2c74b9b commit c27e843
4 files changed
Lines changed: 6 additions & 12 deletions
File tree
- packages
- common/component/toolbar-built-in
- configurator/src/variable-configurator
- design-core/src/preview/src/preview
- toolbars/preview/src
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| |||
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| 363 | + | |
363 | 364 | | |
364 | 365 | | |
365 | | - | |
366 | | - | |
367 | 366 | | |
368 | 367 | | |
369 | 368 | | |
| |||
415 | 414 | | |
416 | 415 | | |
417 | 416 | | |
418 | | - | |
419 | 417 | | |
420 | 418 | | |
421 | 419 | | |
| |||
611 | 609 | | |
612 | 610 | | |
613 | 611 | | |
614 | | - | |
| 612 | + | |
615 | 613 | | |
616 | 614 | | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
| 615 | + | |
622 | 616 | | |
623 | 617 | | |
624 | 618 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments