diff --git a/types/wx/lib.wx.component.d.ts b/types/wx/lib.wx.component.d.ts index f9d03a2..0758ce9 100644 --- a/types/wx/lib.wx.component.d.ts +++ b/types/wx/lib.wx.component.d.ts @@ -455,8 +455,17 @@ declare namespace WechatMiniprogram.Component { */ pureDataPattern?: RegExp /** - * [虚拟化组件节点](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/wxml-wxss.html#%E8%99%9A%E6%8B%9F%E5%8C%96%E7%BB%84%E4%BB%B6%E8%8A%82%E7%82%B9) 使自定义组件内部的第一层节点由自定义组件本身完全决定。从小程序基础库版本 [`2.11.2`](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) 开始支持 */ + * [虚拟化组件节点](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/wxml-wxss.html#%E8%99%9A%E6%8B%9F%E5%8C%96%E7%BB%84%E4%BB%B6%E8%8A%82%E7%82%B9) 使自定义组件内部的第一层节点由自定义组件本身完全决定。从小程序基础库版本 [`2.11.2`](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) 开始支持。 + */ virtualHost?: boolean + /** + * [数据深拷贝](https://developers.weixin.qq.com/miniprogram/dev/framework/component-framework/data-deep-copy.html) 仅 glass-easel 组件框架支持。 + */ + dataDeepCopy?: 'simple' | 'simple-recursion' | 'none' + /** + * [属性传递深拷贝](https://developers.weixin.qq.com/miniprogram/dev/framework/component-framework/data-deep-copy.html) 仅 glass-easel 组件框架支持。 + */ + propertyPassingDeepCopy?: 'simple' | 'simple-recursion' | 'none' } interface TriggerEventOption {