loulijun2021
2023-04-11 995788e4042ba9b2886a8e03ca201f2268359f58
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)
    }
  }
}