b-form-input
字段。我需要在输入框单击上启用它,但是@click无效。<b-form-input
value="John"
:disabled="!detailsEditable"
@input="detailsEditable = true"
></b-form-input>
在脚本中,初始化detailsEditable = false
<b-form-input
value="John"
:readonly="!detailsEditable"
@input="detailsEditable = true"
></b-form-input>