Commit 5977dcad by fukai

支持checkbox的X转换

parent 360bbfdc
......@@ -19,10 +19,13 @@ export default {
computed: {
model: {
get () {
return this.value
if(this.value)
return true
else
return false
},
set (newVal) {
this.$emit('input', newVal)
this.$emit('input', newVal?"X":"")
}
},
mode () {
......
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