mirror of
https://github.com/youzan/vant.git
synced 2025-10-14 23:20:41 +00:00
feat(vant-cli): 支持一次性在全部页面隐藏手机模拟器
This commit is contained in:
@@ -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));
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user