You can do this: class YourComponent extends Vue { $refs!: { checkboxElement: HTMLFormElement } someMethod () { this.$refs.
確定! 回上一頁