fixed bug of the components with link in vue-router 3.1+

This commit is contained in:
梁灏 2019-09-26 10:00:53 +08:00
parent 0e6d05c3c5
commit 9c75e0223b
4 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,9 @@
<template>
<div>
<Divider>vue-router 3.1 bug</Divider>
<Button to="/button">跳转到 Button当前路径</Button>
<Button to="/button" replace>跳转到 Button当前路径, replace</Button>
<Divider></Divider>
<Button icon="logo-github" size="small" shape="circle"></Button>
<Button icon="logo-github" shape="circle"></Button>
<Button icon="logo-github" size="large" shape="circle"></Button>