Ver código fonte

fix:1.input 加 autocomplete="off"

suwenjiang 3 dias atrás
pai
commit
a1bd695eea
1 arquivos alterados com 15 adições e 1 exclusões
  1. 15 1
      pages/contact/index.vue

+ 15 - 1
pages/contact/index.vue

@@ -386,7 +386,12 @@ onUnmounted(() => {
         <div class="search-cell">
           <form method="get">
             <div class="search-field-holder">
-              <input type="search" class="main-search-input" :placeholder="$t('search')" />
+              <input
+                autocomplete="off"
+                type="search"
+                class="main-search-input"
+                :placeholder="$t('search')"
+              />
             </div>
           </form>
         </div>
@@ -449,6 +454,7 @@ onUnmounted(() => {
                           <span style="color: red">*</span>
                         </span>
                         <input
+                          autocomplete="off"
                           type="text"
                           v-model="studentSignUp.surname"
                           name="surname"
@@ -469,6 +475,7 @@ onUnmounted(() => {
                           <span style="color: red">*</span>
                         </span>
                         <input
+                          autocomplete="off"
                           type="text"
                           v-model="studentSignUp.name"
                           name="name"
@@ -493,6 +500,7 @@ onUnmounted(() => {
                           class="d-flex justify-content-between align-items-center"
                         >
                           <input
+                            autocomplete="off"
                             style="width: 48%; border: none"
                             type="text"
                             v-model="studentSignUp.minAge"
@@ -503,6 +511,7 @@ onUnmounted(() => {
                           />
                           <span>--</span>
                           <input
+                            autocomplete="off"
                             style="width: 48%; border: none"
                             type="text"
                             v-model="studentSignUp.maxAge"
@@ -542,6 +551,7 @@ onUnmounted(() => {
                         </span>
                         <div class="w-100 h-100 input">
                           <input
+                            autocomplete="off"
                             type="text"
                             v-model="studentSignUp.countryId"
                             name="countryId"
@@ -586,6 +596,7 @@ onUnmounted(() => {
                             style="box-sizing: border-box; position: relative; max-width: 150px"
                           >
                             <input
+                              autocomplete="off"
                               style="width: 100%"
                               type="text"
                               v-model="studentSignUp.areaCode"
@@ -618,6 +629,7 @@ onUnmounted(() => {
                           </div>
 
                           <input
+                            autocomplete="off"
                             style="margin-left: 4%"
                             type="text"
                             v-model="studentSignUp.phone"
@@ -643,6 +655,7 @@ onUnmounted(() => {
                         </span>
                         <div class="w-100 h-100 input">
                           <input
+                            autocomplete="off"
                             type="text"
                             v-model="studentSignUp.courseType"
                             name="courseType"
@@ -685,6 +698,7 @@ onUnmounted(() => {
                           <span style="color: red">*</span>
                         </span>
                         <input
+                          autocomplete="off"
                           type="text"
                           v-model="studentSignUp.email"
                           name="email"