You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
515 B
29 lines
515 B
<template>
|
|
<el-switch
|
|
v-model="dataValue"
|
|
:disabled="disabled"
|
|
active-color="#13ce66"
|
|
inactive-color="#ff4949"
|
|
@change="valueChange">
|
|
</el-switch>
|
|
</template>
|
|
<script type="text/javascript">
|
|
import booleanMixin from './booleanMixin'
|
|
|
|
export default {
|
|
name: 'XhSwitch', // 新建 Switch开关
|
|
components: {},
|
|
mixins: [booleanMixin],
|
|
props: {},
|
|
data() {
|
|
return {}
|
|
},
|
|
computed: {},
|
|
watch: {
|
|
},
|
|
mounted() {},
|
|
methods: {}
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
</style>
|
|
|