new Vue({
el: "#app",
data: {
disabledForBtn: true
},
computed: {
isCanUseInput: () => new Date().getHours() > 12
}
})
<div id="app">
<button v-bind:disabled = "disabledForBtn">click me</button>
<input v-bind:disabled = "new Date().getHours() > 12" />
<input v-bind:disabled = "isCanUseInput" />
<br/>
<button :disabled = "disabledForBtn">click me</button>
<input :disabled = "new Date().getHours() > 12" />
<input :disabled = "isCanUseInput" />
</div>