From 973dd90ad4fb5061fbc8db0b2cb8ade7217328bf Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 04 二月 2020 17:18:37 +0800 Subject: [PATCH] 2020-02-04 --- src/tabviews/tableshare/actionList/index.jsx | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/tabviews/tableshare/actionList/index.jsx b/src/tabviews/tableshare/actionList/index.jsx index f277389..6c52337 100644 --- a/src/tabviews/tableshare/actionList/index.jsx +++ b/src/tabviews/tableshare/actionList/index.jsx @@ -226,14 +226,14 @@ } - // Api.genericInterface(param).then((res) => { - // if (res.status) { - // this.execSuccess(btn, res) - // } else { - // this.execError(res, btn) - // } - // _resolve() - // }) + Api.genericInterface(param).then((res) => { + if (res.status) { + this.execSuccess(btn, res) + } else { + this.execError(res, btn) + } + _resolve() + }) } else if (btn.Ot === 'required' || (btn.Ot === 'requiredOnce' && btn.OpenType === 'pop')) { let deffers = data.map(cell => { let param = { -- Gitblit v1.8.0