perf(@vant/lazyload): reuse some utils (#9591)

This commit is contained in:
neverland
2021-09-29 18:11:04 +08:00
committed by GitHub
parent ec5067ce7d
commit 95ffe9bc19
8 changed files with 45 additions and 103 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import { inBrowser, loadImageAsync, noop } from './util';
import { inBrowser } from '@vant/use';
import { loadImageAsync, noop } from './util';
export default (lazyManager) => ({
props: {