mirror of https://gitee.com/xiaonuobase/snowy
【更新】使用router-link代替a标签跳转,支持hash和history路由模式
parent
b8f9513d9f
commit
a4d45fab44
|
@ -43,7 +43,9 @@
|
|||
<a-form-item>
|
||||
<a-row :gutter="8">
|
||||
<a-col :span="7">
|
||||
<a-button class="xn-wd" round size="large" href="/login">{{ $t('login.backLogin') }}</a-button>
|
||||
<a-button type="link" class="p-0">
|
||||
<router-link to="/login">{{ $t('login.backLogin') }}?</router-link>
|
||||
</a-button>
|
||||
</a-col>
|
||||
<a-col :span="17">
|
||||
<a-button type="primary" class="xn-wd" :loading="islogin" round size="large" @click="submitReset">{{
|
||||
|
|
|
@ -43,7 +43,9 @@
|
|||
<a-form-item>
|
||||
<a-row :gutter="8">
|
||||
<a-col :span="7">
|
||||
<a-button class="xn-wd" round size="large" href="/login">{{ $t('login.backLogin') }}</a-button>
|
||||
<a-button type="link" class="p-0">
|
||||
<router-link to="/login">{{ $t('login.backLogin') }}?</router-link>
|
||||
</a-button>
|
||||
</a-col>
|
||||
<a-col :span="17">
|
||||
<a-button type="primary" class="xn-wd" :loading="islogin" round size="large" @click="submitReset">{{
|
||||
|
|
|
@ -90,7 +90,9 @@
|
|||
</a-form-item>
|
||||
|
||||
<a-form-item>
|
||||
<a href="/findpwd" class="xn-color-0d84ff">{{ $t('login.forgetPassword') }}?</a>
|
||||
<a-button type="link" class="p-0">
|
||||
<router-link to="/findpwd">{{ $t('login.forgetPassword') }}?</router-link>
|
||||
</a-button>
|
||||
</a-form-item>
|
||||
<a-form-item>
|
||||
<a-button type="primary" class="w-full" :loading="loading" round size="large" @click="login"
|
||||
|
|
Loading…
Reference in New Issue