About vue assigned to but it has no setter error

![][2]

has any great god ever encountered this kind of problem? Problems with using element-ui.

Mar.16,2021

  1. Don't paste the code if you can.
  2. when the calculation property is written in the form of a function, only the get method is set, and your activeTab activeTab is a bi-directional binding, that is, it will not only call the get of activeTab < / value > to read the value, but also call its set to set the value, but you do not provide the value. So it needs to be changed to:

    activeTab: {
        get () {
            return this.$store.getters.activeTab
        },
        set (val) {
            this.$store.commit('xxxx', val)
        }
    }
Menu