Skip to content

[t-select-input] 在 dialog 中设置 autofocus 无效 #2702

@hatt-e4

Description

@hatt-e4

tdesign-vue-next 版本

1.2.3

重现链接

No response

重现步骤

t-dialog 中的 t-select-input, 设置 autofocus 无效 (只在dialog中使用,没在外部页面测试过)

测试过直接 autofocus: true 也试过 :autofocus="focusNum == 1" , 在 dialog onOpen 后 focusNum.value = 1, 或者 settimeout 1秒后设置,都没另焦点到 t-select-input 中

期望结果

No response

实际结果

No response

框架版本

Vue 3.2.47

浏览器版本

"electron": "^22.3.2",

系统版本

windows 10

Node版本

No response

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions