chore: bump lazyload and remove todo
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@vant/icons": "^1.7.1",
|
||||
"@vant/lazyload": "^1.2.0",
|
||||
"@vant/lazyload": "^1.3.0",
|
||||
"@vant/popperjs": "^1.1.0",
|
||||
"@vant/use": "^1.3.1"
|
||||
},
|
||||
|
||||
@@ -16,7 +16,6 @@ import {
|
||||
inBrowser,
|
||||
truthProp,
|
||||
createNamespace,
|
||||
ComponentInstance,
|
||||
} from '../utils';
|
||||
|
||||
// Components
|
||||
@@ -59,8 +58,7 @@ export default defineComponent({
|
||||
const loading = ref(true);
|
||||
const imageRef = ref<HTMLElement>();
|
||||
|
||||
// TODO: types
|
||||
const { $Lazyload } = getCurrentInstance()!.proxy as ComponentInstance;
|
||||
const { $Lazyload } = getCurrentInstance()!.proxy!;
|
||||
|
||||
const style = computed(() => {
|
||||
const style: CSSProperties = {};
|
||||
|
||||
Reference in New Issue
Block a user