loulijun2021
2023-05-20 d1c1f6b4edcb4fc33314802cc66e72e2743c0eed
src/layout/components/Settings/index.vue
@@ -1,7 +1,7 @@
<template>
  <div class="drawer-container">
    <div>
      <h3 class="drawer-title">项目配置</h3>
      <h3 class="drawer-title">系统配置</h3>
      <div class="drawer-item">
        <span>主题颜色</span>
@@ -52,7 +52,6 @@
          style="width: 120px;"
          placeholder="请选择"
          size="mini"
          @change="animationTypeChange"
        >
          <el-option
            v-for="item in animationTypeArr"
@@ -103,6 +102,11 @@
      ]
    }
  },
  mounted() {
    if (this.$store.state.settings.menuIsHorizontal) {
      this.sidebar.opened = true
    }
  },
  computed: {
    ...mapGetters([
      'sidebar'
@@ -148,9 +152,6 @@
        key: 'theme',
        value: val
      })
    },
    animationTypeChange(val) {
      console.log(val, 1)
    }
  }
}