loulijun2021
2023-02-09 b31d0bdae5ab5e7c24eadf08fea270c6bb9f3c7a
src/layout/components/Settings/index.vue
@@ -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)
    }
  }
}