diff --git a/ruoyi-ui/src/components/CapsuleSwitch/index.vue b/ruoyi-ui/src/components/CapsuleSwitch/index.vue new file mode 100644 index 0000000..7e1673e --- /dev/null +++ b/ruoyi-ui/src/components/CapsuleSwitch/index.vue @@ -0,0 +1,187 @@ + + + + {{ isOn ? activeText : inactiveText }} + + + + + + +