Pārlūkot izejas kodu

style: 调整主题切换样式

xingyuv 2 gadi atpakaļ
vecāks
revīzija
01971a94b4

+ 5 - 0
src/layout/components/ThemeSwitch/src/ThemeSwitch.vue

@@ -37,3 +37,8 @@ const themeChange = (val: boolean) => {
     @change="themeChange"
   />
 </template>
+<style lang="scss" scoped>
+:deep(.el-switch__core .el-switch__inner .is-icon) {
+  overflow: visible;
+}
+</style>