docs: fix missing demo locale (#9255)

This commit is contained in:
neverland
2021-08-12 23:58:54 +08:00
committed by GitHub
parent a6b34d24b0
commit f0f2059d91
4 changed files with 79 additions and 73 deletions

View File

@@ -1,6 +1,8 @@
import './demo-locale';
import { initDemoLocale } from './demo-locale';
import Lazyload from '../../src/lazyload';
initDemoLocale();
const { app } = window;
if (app) {
app.use(Lazyload, {