router/index.js页面:
如果要切换到login_pwd页面时,下面的写法跳转的是空白页面
<router-link to='/login_pwd'>
<div class="change tc">
<img src="../../assets/switch.png" alt="" /><span>切换到账号密码登录</span>
</div>
</router-link>
正确写法如下:
<router-link to='/'>
<div class="change tc">
<img src="../../assets/switch.png" alt="" /><span>切换到账号密码登录</span>
</div>
</router-link>