Zeral
Zeral
# Version 2.7.10 ### Reproduction link [codesandbox.io](https://codesandbox.io/s/vue2-template-forked-4qkbsr?file=/src/components/TestCompositionApi.vue) ### Steps to reproduce code like this, when use composotion api `set` to add new property, computed the new property not return value,...
## **Describe the bug (required)** / **详细描述 bug(必填)** 使用 DesignerView 监听 Designer onDrag 事件,发现 onDrag 事件中的节点 nodes 实际类型为 `INode` 和申明的 `IPublicModelNode` 类型不符合,导致部分 API 不可用,例如设置可见性 `node.visile = false` 等。 ``` ts...
## **Describe the bug (required)** / **详细描述 bug(必填)** 拖动组件到画布上,插件内部监听 project 的当前文档的 onMountNode 事件,期望获取组件的 DomNode 并执行其它逻辑,但是此时节点并未挂载到 document 上,无法获取到 Dom 节点; ``` ts /** * 当前 document 新增节点事件,此时节点已经挂载到 document 上 * set...
### 描述 无法通过插件机制增强或控制现有的组件渲染逻辑。 例如想在组件创建时包裹高阶组件,做额外的逻辑处理:例如增加一层 div 来控制组件的绝对布局实现自由布局; ### 逾期效果 期望可以通过插件机制插入高阶组件来增强组件,将其插入到 `render-core` 的高阶组件中; ```ts /** * get Component HOCs * * @readonly * @type {IComponentConstruct[]} */ get __componentHOCs(): IComponentConstruct[] { if (this.__designModeIsDesign)...
## **Describe the bug (required)** / **详细描述 bug(必填)** 组件 metadata 的高级特性 `getResizingHandlers` 期望为数组对象,并可配置控制 handler 的出现时机,实际实现只接受触发控制方向的 string[] 字符串数组,该接口是否并未正确实现,还是类型未调整正确? ```ts /** * 样式 及 位置,handle 上必须有明确的标识以便事件路由判断,或者主动设置事件独占模式 * NWSE 是交给引擎计算放置位置,ReactElement 必须自己控制初始位置 * *...