From 181399624a68395fc4861e4a715dda1b6ae9e940 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 21 Jan 2019 22:14:30 +0800 Subject: [PATCH] feat: update vc-xxx --- components/vc-form/src/createBaseForm.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/vc-form/src/createBaseForm.jsx b/components/vc-form/src/createBaseForm.jsx index f77ddab97..226b5b61d 100644 --- a/components/vc-form/src/createBaseForm.jsx +++ b/components/vc-form/src/createBaseForm.jsx @@ -592,9 +592,9 @@ function createBaseForm(option = {}, mixins = []) { callback, ); }); - pending.catch((e) => { - if (console.error) { // eslint-disable-line - console.error(e); // eslint-disable-line + pending.catch(e => { + if (console.error) { + console.error(e); } return e; });