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) } } }