本文共 265 字,大约阅读时间需要 1 分钟。
watch:{   	'$store.state.userNumber'(val){        	if( !this.isLogin){          		this.Login=val     	}	},	$route(to,from){         	if(to.path=='/login'||to.path=='/logins'){           	this.isHeader=false      	}else {           	this.isHeader=true      	}    },} 转载地址:http://cyyaz.baihongyu.com/