当我们把vuex里的东西以模块的形式分好之后 所以当我们commit的时候要注意要加上模块的名字 正确写法: this.$store.commit(‘project/SET_projectId’, this.projectId)