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)); }, }, };