feat(vant-cli): 支持一次性在全部页面隐藏手机模拟器

This commit is contained in:
HaoChuan9421 2021-03-15 01:25:31 +08:00
parent 3a900cdb7b
commit 7ec1da7dc3

View File

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