docs: should use v2 demo in simulator (#4918)

This commit is contained in:
neverland 2022-05-03 10:36:51 +08:00 committed by GitHub
parent 5c90a4ff77
commit 3a9056ff1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ export default {
description: '轻量、可靠的小程序 UI 组件库',
logo: 'https://img.yzcdn.cn/vant/logo.png',
simulator: {
url: 'https://vant-contrib.gitee.io/vant/mobile.html?weapp=1',
url: 'https://vant-contrib.gitee.io/vant/v2/mobile.html?weapp=1',
routeMapper: (path) => {
const map = {
'/common': '/style',