mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: bump lazyload and remove todo
This commit is contained in:
parent
3aa3bbfa49
commit
8d6d65fa58
@ -45,7 +45,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vant/icons": "^1.7.1",
|
"@vant/icons": "^1.7.1",
|
||||||
"@vant/lazyload": "^1.2.0",
|
"@vant/lazyload": "^1.3.0",
|
||||||
"@vant/popperjs": "^1.1.0",
|
"@vant/popperjs": "^1.1.0",
|
||||||
"@vant/use": "^1.3.1"
|
"@vant/use": "^1.3.1"
|
||||||
},
|
},
|
||||||
|
@ -16,7 +16,6 @@ import {
|
|||||||
inBrowser,
|
inBrowser,
|
||||||
truthProp,
|
truthProp,
|
||||||
createNamespace,
|
createNamespace,
|
||||||
ComponentInstance,
|
|
||||||
} from '../utils';
|
} from '../utils';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
@ -59,8 +58,7 @@ export default defineComponent({
|
|||||||
const loading = ref(true);
|
const loading = ref(true);
|
||||||
const imageRef = ref<HTMLElement>();
|
const imageRef = ref<HTMLElement>();
|
||||||
|
|
||||||
// TODO: types
|
const { $Lazyload } = getCurrentInstance()!.proxy!;
|
||||||
const { $Lazyload } = getCurrentInstance()!.proxy as ComponentInstance;
|
|
||||||
|
|
||||||
const style = computed(() => {
|
const style = computed(() => {
|
||||||
const style: CSSProperties = {};
|
const style: CSSProperties = {};
|
||||||
|
@ -1767,10 +1767,10 @@
|
|||||||
resolved "https://registry.npmjs.org/@vant/icons/-/icons-1.7.1.tgz#49ae420302b5581e54e6894891e5a05bc76e9f87"
|
resolved "https://registry.npmjs.org/@vant/icons/-/icons-1.7.1.tgz#49ae420302b5581e54e6894891e5a05bc76e9f87"
|
||||||
integrity sha512-66LPEq89w4kl258nALZcRNd14eUJC8VajvTJwvZKOaZawz6CUeVZ6ybhedTUhQhRjeA8SyWD7dFt4ALf33Sabw==
|
integrity sha512-66LPEq89w4kl258nALZcRNd14eUJC8VajvTJwvZKOaZawz6CUeVZ6ybhedTUhQhRjeA8SyWD7dFt4ALf33Sabw==
|
||||||
|
|
||||||
"@vant/lazyload@^1.2.0":
|
"@vant/lazyload@^1.3.0":
|
||||||
version "1.2.0"
|
version "1.3.0"
|
||||||
resolved "https://registry.nlark.com/@vant/lazyload/download/@vant/lazyload-1.2.0.tgz#62e9779bd7844ad8f71c2ca2bf852e6147c7a86d"
|
resolved "https://registry.npmmirror.com/@vant/lazyload/download/@vant/lazyload-1.3.0.tgz?cache=0&sync_timestamp=1632451239649&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2F%40vant%2Flazyload%2Fdownload%2F%40vant%2Flazyload-1.3.0.tgz#2a743339f271989dbf87f7a4c55c9fff7ebc774e"
|
||||||
integrity sha1-Yul3m9eEStj3HCyiv4UuYUfHqG0=
|
integrity sha1-KnQzOfJxmJ2/h/ekxVyf/368d04=
|
||||||
|
|
||||||
"@vant/markdown-vetur@^2.2.0":
|
"@vant/markdown-vetur@^2.2.0":
|
||||||
version "2.2.0"
|
version "2.2.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user