element uiel-switch用数字表示是开关

tech2023-09-06  115

<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>
最新回复(0)