[Doc] add weapp flag to demo page (#1584)

This commit is contained in:
neverland 2019-04-28 19:27:59 +08:00 committed by GitHub
parent 223c6dd6f5
commit 557fcc2f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ export default {
path = MAPPER[path];
}
return `https://youzan.github.io/vant/mobile.html?hide_nav=1#/zh-CN/${path}`;
return `https://youzan.github.io/vant/mobile.html?hide_nav=1&weapp=1#/zh-CN/${path}`;
}
return `./preview.html#${path}`;