...
|
...
|
@@ -33,12 +33,15 @@ export default { |
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
this.$yoho.getNavStatus('', res => {
|
|
|
if (res === 'N') {
|
|
|
this.SET_STATUS_BAR_STATUS({status: false});
|
|
|
}
|
|
|
this.$yoho.ready(() => {
|
|
|
this.$yoho.getNavStatus('', res => {
|
|
|
if (res === 'N') {
|
|
|
this.SET_STATUS_BAR_STATUS({status: false});
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
|
|
|
|
|
|
const barColor = get(this.$route, 'meta.statusBarColor');
|
|
|
|
|
|
if (barColor) {
|
...
|
...
|
@@ -62,8 +65,6 @@ export default { |
|
|
this.$yoho.setStatusBar({statusBarColor});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
if (process.env.NODE_ENV === 'development') {
|
...
|
...
|
|