mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
chore: remote isWeapp mixin (#9236)
* chore: remote isWeapp mixin * fix: demo locale
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
import { DemoLocaleMixin } from './demo-locale';
|
||||
import './demo-locale';
|
||||
import Lazyload from '../../src/lazyload';
|
||||
|
||||
const { app } = window;
|
||||
if (app) {
|
||||
// helper for demo locales
|
||||
app.mixin(DemoLocaleMixin);
|
||||
|
||||
app.use(Lazyload, {
|
||||
lazyComponent: true,
|
||||
});
|
||||
|
Reference in New Issue
Block a user