<template
>
<div
>
<el
-switch v
-model
="val" active
-color
="#13ce66" inactive
-color
="#ff4949" active
-value
="1"
inactive
-value
="0" />
</div
>
</template
>
<script
>
export default{
data(){
return{
val
:"1"
}
}
}
</script
>
转载请注明原文地址:https://tech.qufami.com/read-12469.html