From 3df2d3624c6b768d29670b537f8d6a71d3ef122c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 12 四月 2020 22:04:53 +0800 Subject: [PATCH] 2020-04-12 --- src/tabviews/formtab/index.jsx | 18 +----------------- 1 files changed, 1 insertions(+), 17 deletions(-) diff --git a/src/tabviews/formtab/index.jsx b/src/tabviews/formtab/index.jsx index cf03b8e..b577bb7 100644 --- a/src/tabviews/formtab/index.jsx +++ b/src/tabviews/formtab/index.jsx @@ -138,15 +138,7 @@ this.improveSelectOption(config.groups) if (config.setting.datatype === 'query' && config.setting.onload !== 'false') { - if (!this.props.param.primaryId) { - notification.warning({ - top: 92, - message: '鏈幏鍙栧埌涓婚敭ID锛�', - duration: 10 - }) - } else { - this.loadmaindata() - } + this.loadmaindata() } else if (config.setting.datatype !== 'query' && (!this.props.param.primaryId || !this.props.param.data)) { notification.warning({ top: 92, @@ -375,15 +367,7 @@ duration: 10 }) return null - } else if (!primaryId) { - notification.warning({ - top: 92, - message: '鏈幏鍙栧埌涓婚敭鍊硷紒', - duration: 10 - }) - return null } - let param = { func: 'sPC_Get_TableData', -- Gitblit v1.8.0