fix(switch): id of input can't be empty (#1273)

remove default value of id props
This commit is contained in:
kooriookami
2021-01-13 21:07:55 -06:00
committed by GitHub
parent a00ad48324
commit 478eecbc07

View File

@@ -127,10 +127,7 @@ export default defineComponent({
type: Boolean,
default: true,
},
id: {
type: String,
default: '',
},
id: String,
loading:{
type: Boolean,
default: false,