vue3 ts 用$refs动态获取 dom 对象
import { getCurrentInstance, reactive, ref } from "vue" const { proxy } = getCurrentInstance() as any proxy.$refs.inpueOne.focus();
import { getCurrentInstance, reactive, ref } from "vue" const { proxy } = getCurrentInstance() as any proxy.$refs.inpueOne.focus();