Refactor(ALL):Vue3同步调整为Vue2
This commit is contained in:
@@ -13,6 +13,12 @@ export default {
|
||||
defaultState: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
mark: {
|
||||
type: Array,
|
||||
default: () => {
|
||||
return []
|
||||
}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -27,7 +33,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
change() {
|
||||
this.$emit('change', !this.isSelected)
|
||||
this.$emit('change', !this.isSelected, this.mark)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user