From 7ec1da7dc39dca90ab617af4f5471ca4ff14ba04 Mon Sep 17 00:00:00 2001 From: HaoChuan9421 Date: Mon, 15 Mar 2021 01:25:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(vant-cli):=20=E6=94=AF=E6=8C=81=E4=B8=80?= =?UTF-8?q?=E6=AC=A1=E6=80=A7=E5=9C=A8=E5=85=A8=E9=83=A8=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=89=8B=E6=9C=BA=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vant-cli/site/desktop/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant-cli/site/desktop/App.vue b/packages/vant-cli/site/desktop/App.vue index 88f1850b1..e18e94467 100644 --- a/packages/vant-cli/site/desktop/App.vue +++ b/packages/vant-cli/site/desktop/App.vue @@ -104,7 +104,7 @@ export default { document.title = title; - this.hasSimulator = !(current && current.hideSimulator); + this.hasSimulator = !(config.site.hideSimulator || this.config.hideSimulator || (current && current.hideSimulator)); }, }, };