Requirements: Actions have methods to obtain a list and methods to delete a certain piece of data;
Now, when I delete a piece of data, I need to re-obtain the same-level method of obtaining the list;
Method to get the list: getAdderss
Method to delete a piece of data: deleteAdderssFn
After I execute the delete method, I write a timer and execute the method of getting the list:
setTimeout(()=>{
context.dispatch('getAdderss')//调用同级获取列表的方法
})