mapActions ({ logout(commit,payload){ // commit固定为第一个参数 // payload为调用logout时传入的参数,不传则为undefined commit('logout') } }) ...
確定! 回上一頁