From 6b6d33f419df43ada91dc73cceb8e24d46c6f42b Mon Sep 17 00:00:00 2001 From: TrickEye Date: Mon, 31 Jul 2023 20:50:12 +0800 Subject: [PATCH] fix: fix issue#1, remove the background color after autofill --- src/views/users/UserLogin.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/users/UserLogin.vue b/src/views/users/UserLogin.vue index 380203a..e6aeeb7 100644 --- a/src/views/users/UserLogin.vue +++ b/src/views/users/UserLogin.vue @@ -210,4 +210,9 @@ const handleSubmit = e => { cursor: pointer; } } + +.n-input:deep(input.n-input__input-el:autofill), +.n-input:deep(input.n-input__input-el:-webkit-autofill) { + transition: background-color 9999s ease-in-out 9999999s !important; +}