mirror of
https://gitee.com/vant-contrib/vant.git
synced 2026-07-13 01:11:07 +08:00
Compare commits
3 Commits
97d2badd45
...
44281be985
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44281be985 | ||
|
|
78d6bcc939 | ||
|
|
711f9cc852 |
@ -19,6 +19,18 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
|
||||
|
||||
## Details
|
||||
|
||||
### [v3.6.5](https://github.com/vant-ui/vant/compare/v3.6.4...v3.6.5)
|
||||
|
||||
`2022-11-08`
|
||||
|
||||
**Feature**
|
||||
|
||||
- ImagePreview: add preview image slot [#11133](https://github.com/vant-ui/vant/issues/11133)
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- lazyload: lazy-image h is not a function [#11230](https://github.com/vant-ui/vant/issues/11230)
|
||||
|
||||
### [v3.6.4](https://github.com/vant-ui/vant/compare/v3.6.3...v3.6.4)
|
||||
|
||||
`2022-10-07`
|
||||
|
||||
@ -19,6 +19,18 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
||||
|
||||
## 更新内容
|
||||
|
||||
### [v3.6.5](https://github.com/vant-ui/vant/compare/v3.6.4...v3.6.5)
|
||||
|
||||
`2022-11-08`
|
||||
|
||||
**Feature**
|
||||
|
||||
- ImagePreview: 新增 preview image 插槽 [#11133](https://github.com/vant-ui/vant/issues/11133)
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- lazyload: 修复使用 lazy-image 时提示 h is not a function 的问题 [#11230](https://github.com/vant-ui/vant/issues/11230)
|
||||
|
||||
### [v3.6.4](https://github.com/vant-ui/vant/compare/v3.6.3...v3.6.4)
|
||||
|
||||
`2022-10-07`
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vant",
|
||||
"version": "3.6.4",
|
||||
"version": "3.6.5",
|
||||
"description": "Lightweight Mobile UI Components built on Vue",
|
||||
"main": "lib/vant.cjs.js",
|
||||
"module": "es/index.mjs",
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
import { useRect } from '@vant/use';
|
||||
import { loadImageAsync } from './util';
|
||||
import { noop } from '../../utils';
|
||||
import { h } from 'vue';
|
||||
|
||||
export default (lazyManager) => ({
|
||||
props: {
|
||||
@ -15,15 +16,13 @@ export default (lazyManager) => ({
|
||||
default: 'img',
|
||||
},
|
||||
},
|
||||
render(h) {
|
||||
render() {
|
||||
return h(
|
||||
this.tag,
|
||||
{
|
||||
attrs: {
|
||||
src: this.renderSrc,
|
||||
},
|
||||
src: this.renderSrc,
|
||||
},
|
||||
this.$slots.default
|
||||
this.$slots.default?.()
|
||||
);
|
||||
},
|
||||
data() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user