// 添加判断方法
isMobile() {
this.flag = navigator.userAgent.match(
/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i
);
console.log(this.flag);
if(this.flag === null) {
console.log("pc端");
this.rightNavShow = true;
}else {
console.log("移动端");
this.rightNavShow = false;
}
}