mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(switch): id of input can't be empty (#1273)
remove default value of id props
This commit is contained in:
@@ -127,10 +127,7 @@ export default defineComponent({
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
id: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
id: String,
|
||||
loading:{
|
||||
type: Boolean,
|
||||
default: false,
|
||||
|
||||
Reference in New Issue
Block a user