Skip to content

Commit

Permalink
Merge pull request #93 from moeyua/master
Browse files Browse the repository at this point in the history
feat: 添加data-1p-ignore属性以忽略1Password自动填充
  • Loading branch information
xream authored May 31, 2024
2 parents 110ceeb + bdd7469 commit e861a24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/FileEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
>
<input
class="nut-input-text"
data-1p-ignore
@blur="customerBlurValidate('name')"
v-model.trim="form.name"
:placeholder="$t(`editorPage.subConfig.basic.name.placeholder`)"
Expand All @@ -35,6 +36,7 @@
>
<input
class="nut-input-text"
data-1p-ignore
v-model.trim="form.displayName"
:placeholder="
$t(`editorPage.subConfig.basic.displayName.placeholder`)
Expand Down
2 changes: 2 additions & 0 deletions src/views/SubEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
>
<input
class="nut-input-text"
data-1p-ignore
@blur="customerBlurValidate('name')"
v-model.trim="form.name"
:placeholder="$t(`editorPage.subConfig.basic.name.placeholder`)"
Expand All @@ -38,6 +39,7 @@
>
<input
class="nut-input-text"
data-1p-ignore
v-model.trim="form.displayName"
:placeholder="
$t(`editorPage.subConfig.basic.displayName.placeholder`)
Expand Down

0 comments on commit e861a24

Please sign in to comment.