Fix: Fix error response show for board-edit

This commit is contained in:
winkidney
2019-12-07 15:33:23 +08:00
committed by Isaac Bythewood
parent d32a66a44d
commit c49483ec6f

View File

@@ -100,8 +100,8 @@ export default {
self.$emit('boardSaved', resp);
self.$parent.close();
},
(resp) => {
self.editModel.markFieldsAsDanger(resp.data);
(error) => {
self.editModel.markFieldsAsDanger(error.response.data);
},
);
},