mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(vant-cli): 支持一次性在全部页面隐藏手机模拟器
This commit is contained in:
parent
3a900cdb7b
commit
7ec1da7dc3
@ -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));
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user