Element input autofoucs does not work

elemtnt inoput acquires focus by default inoput in autofocus=boolean in dailog input can only get focus when dialog first displays after page refresh, and then there is no focus after display

Mar.23,2021

is everything all right? this input is only initialized once. You can use v-if to destroy the dialog when the input is closed, and then reinitialize the input when the dialog is opened to meet your needs.

Menu