🌐 AI搜索 & 代理 主页
Skip to content

Commit c8e2fca

Browse files
committed
Update form-tags.js
1 parent f57afbc commit c8e2fca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/form-tags/form-tags.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,14 +212,16 @@ export const BFormTags = /*#__PURE__*/ Vue.extend({
212212
return arrayIncludes(TYPES, this.inputType) ? this.inputType : 'text'
213213
},
214214
computedInputAttrs() {
215+
const { disabled, form } = this
216+
215217
return {
216218
// Merge in user supplied attributes
217219
...this.inputAttrs,
218220
// Must have attributes
219221
id: this.computedInputId,
220222
value: this.newTag,
221-
disabled: this.disabled || null,
222-
form: this.form || null
223+
disabled,
224+
form
223225
}
224226
},
225227
computedInputHandlers() {

0 commit comments

Comments
 (0)