Skip to content

Commit 2dc3acf

Browse files
committed
fix: login checkbox error #672
1 parent 7467155 commit 2dc3acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/user/Login.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
</a-tabs>
7373

7474
<a-form-item>
75-
<a-checkbox v-decorator="['rememberMe']">自动登录</a-checkbox>
75+
<a-checkbox v-decorator="['rememberMe', { valuePropName: 'checked' }]">自动登录</a-checkbox>
7676
<router-link
7777
:to="{ name: 'recover', params: { user: 'aaa'} }"
7878
class="forge-password"

0 commit comments

Comments
 (0)