How vue controls the disable property

RT. What I want to do now is that after clicking a button, the input box will be set disable
how to do this with vue?

Mar.18,2021

<button @click="isDisabled = true" :disabled="isDisabled">click</button>

data:{
    isDisabled:false
}
Menu