vuex 内mutation 方法同级互相调用?
setAlert(state, data){
console.log(JSON.stringify(data));
data.btns = data.btns || [];
state.uiAlert = data;
store.commit("hideAlert");
},
hideAlert(state){
state.uiAlert.title=state.uiAlert.msg="";
}