Commit 458d34a8 authored by 杨奕's avatar 杨奕 Committed by GitHub

Switch: pass id to native input element (#10862)

parent 9f232cd3
......@@ -12,6 +12,7 @@
type="checkbox"
@change="handleChange"
ref="input"
:id="id"
:name="name"
:true-value="activeValue"
:false-value="inactiveValue"
......@@ -89,7 +90,8 @@
name: {
type: String,
default: ''
}
},
id: String
},
data() {
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment