loulijun2021
2023-01-06 72932dd999c97b14fa561002d332520985178cf5
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)
    }
  }
}