SafetyScreen-ui/node_modules/vue-grid-layout/website/docs/zh/changelog/README.md

169 lines
7.1 KiB
Markdown
Raw Normal View History

2025-03-29 19:33:58 +08:00
---
sidebar: auto
---
# 更新日志
## 2.4.02022年08月03日
* TODO
## 2.3.122021年01月15日
* 将interact.js升级到1.10.2
* 向GridItem添加了'preserveAspectRatio'属性 (感谢 [validide](https://github.com/validide)
## 2.3.112020年10月13日
* 已修复使用响应式布局时的回归487
## 2.3.102020年10月12日
* 将interact.js升级到1.10.0现在作为ES6模块导入以优化大小
* 已修复在RTL模式下无法调整栅格元素的大小 (感谢 [or-lat](https://github.com/or-lat)
* 添加了GridLayout.useStyleCursor属性以修复可能的浏览器冻结 (感谢 [mosuzi](https://github.com/mosuzi)
* 已修复当GridItem不是GridLayout的子级时父布局错误 (感谢 [lzq4047](https://github.com/lzq4047)
* 已修复:在响应模式下再次隐藏/显示元素时,元素的大小发生变化 (感谢 [lustan3216](https://github.com/lustan3216))
## 2.3.92020年9月28日
* 已修复插件安装已修复311 (感谢 [yfwz100](https://github.com/yfwz100)
* interact.js升级版本至1.9.22
## 2.3.82020年7月31日
* 支持动态修改margin属性 (感谢 [yfwz100](https://github.com/yfwz100)
* 添加了丢失的“布局更新”事件 (感谢 [ben-lau](https://github.com/ben-lau)
* 支持初始响应式布局和断点更改事件 (感谢 [ftylitak](https://github.com/ftylitak)
* 修正了布局项被删除且未设置interactObj时可能出现的错误 (感谢 [Tofandel](https://github.com/Tofandel)
* 在响应模式下修复错误的栅格元素排序 (感谢 [pieterbeulque](https://github.com/pieterbeulque)
## 2.3.72019年10月31日
*337中引入容器更改大小浏览器窗口或其他大小时发出的重命名“调整大小”事件358已修复
* 已修复layout-ready事件
## 2.3.62019年9月11日
* 恢复栅格元素w和h先前的舍入更改已修复355
## 2.3.52019年9月7日
* 已修复:在移动设备上无触摸,并且仅当元素可拖动或可调整大小时 (感谢 [DGoms](https://github.com/DGoms))。
* 防止碰撞功能 (感谢 [SheanDe](https://github.com/SheanDe))。
* 简体中文README (感谢 [harrywangchina](https://github.com/harrywangchina))。
* 如果由于除手动调整大小(例如,浏览器窗口调整大小)以外的更改而调整了栅格项的大小,则此时将发出`resized`事件 (感谢 [pmorch](https://github.com/pmorch))。
* 改进`layout-ready`触发事件 (感谢 [pmorch](https://github.com/pmorch))。
* 添加了min/max height and width的监视程序 (感谢 [grinat](https://github.com/grinat))。
* 改进确保grid-item的大小大于slot-item (感谢 [ywmail](https://github.com/ywmail))。
## 2.3.42019年3月5日
* 支持静态部件 (感谢 [panjiangyi](https://github.com/panjiangyi))。
* RTL错误修正 (感谢 [irvingwa](https://github.com/irvingwa))。
* 内存泄漏修复 (感谢 [aiankile](https://github.com/aiankile))。
* 已修复了栅格布局安装上的异常 (感谢 [BenoitZugmeyer](https://github.com/BenoitZugmeyer))。
* 已修复了响应模式下重叠和调整大小的错误 (感谢 [shpfive](https://github.com/shpfive))。
* 添加了GridLayout发出的新事件 layout-created layout-before-mountlayout-mountedlayout-ready (感谢 [samuelmolinski](https://github.com/samuelmolinski))。
## 2.3.32018年12月26日
* 恢复了将vue作为外部添加这导致加载umd时出现问题。
## 2.3.22018年12月13日
* 添加了vue作为外部webpack配置以修复启动问题 (感谢 [Micene9](https://github.com/Micene09)
## 2.3.12018年11月6日
* 之前在Android上进行触摸拖动的修复方法打破了在其他移动浏览器上的拖动 (感谢 [onx2](https://github.com/onx2)
## 2.3.02018年10月26日
* 响应式布局支持 (感谢 [shpfive](https://github.com/shpfive)
* 已修复了在Android上进行触摸拖动的问题 (感谢 [pbabey](https://github.com/pbabey)
## 2.2.02018年9月10日
* 使用Vue CLI更改了项目结构并进行了构建
* GridItem新的autosize方法。现在需要使用this.$parent.autoSize()从子组件中调用 (感谢 [mech01nc01](https://github.com/mech01nc01)
* 抽象的DOM相关要求提供初始SSR支持 (感谢 [Kukks](https://github.com/Kukks)
* GridItem.i现在可以是数字或字符串 (感谢 [xch1029](https://github.com/xch1029)
* 使用interactjs大小来限制调整大小 (感谢 [LuisCarreras](https://github.com/LuisCarreras)
* 已修复了实例释放时的interactjs实例泄漏 (感谢 [zzuligy](https://github.com/zzuligy)
## 2.1.132018年5月2日
* 调整大小事件现在也发出以像素为单位的尺寸 (感谢 [buremba](https://github.com/buremba)
* 支持动态列修改(#121 (感谢 [ittus](https://github.com/ittus)
## 2.1.122018年2月27日
* 将interact.js更新为1.3.3 #144
## 2.1.112018年1月5日
* 解决了同一个虚拟机134上有多个栅格的问题 (感谢 [Suen](https://github.com/sunzongzheng)
* 解决了重新分配时布局更新的问题130 (感谢 [daizengyu](https://github.com/daizengyu123)
## 2.1.102017年12月15日
* 已修复了与119相关的可能错误
* 将CSS转换为Translation3D96
* 添加了is-mirrored配置允许从右向左渲染栅格元素水平翻转 (感谢 [kweij](https://github.com/kweij)
* 添加了栅格更新事件可以更轻松地与vuex集成 (感谢 [SergeyKhval](https://github.com/SergeyKhval)
## 2.1.92017年8月17日
* 已修复了对interact.js的本地模块引用
## 2.1.82017年8月17日
* 已修复#61、#37
* 已修复#82
* 已修复#87
## 2.1.72017年8月17日
* 已修复#59
* 已修复#83
* 对GridItem中props的dragAllowFrom和dragIgnoreFrom实现了支持 (感谢 [ThePlastic](https://github.com/ThePlastic)
## 2.1.62017年4月6日
* 已修复43配置拖曳元件上的栅格项内容忽略 (感谢 [neithere](https://github.com/neithere)
* 已修复了getLayoutItem有时返回null元素 (感谢 [pbabey](https://github.com/pbabey)
## 2.1.52017年3月24日
* 真正修复22、32多个栅格实例在2.1.4中无法正常工作
* resizeEvent现在还以像素为单位返回元素的宽度和高度实现34
## 2.1.42017年3月20日
* 实现32在同一页面上支持多个栅格实例
## 2.1.32017年3月9日
* 已修复#27, props属性突变告警
## 2.1.22017年2月16日
* 实现12GridItems上的按钮将触发移动设备上的拖动
* 实现24在销毁之前删除监听 (感谢 [pbabey](https://github.com/pbabey)
## 2.1.12017年2月9日
* 实现13支持行高动态更新
* 实现23支持动态启用/禁用拖动和调整大小
* 实现21移动并调整大小的事件
## 2.1.02017年2月6日
* RTL支持 (感谢 [easteregg](https://github.com/easteregg)
* 移动和调整事件大小 (感谢 [ThePlastic](https://github.com/ThePlastic)