src/templates/sharecomponent/settingcomponent/settingform/utils.jsx
@@ -78,15 +78,19 @@ } if (_customScript) { sql = `${_customScript} sql = `/* sql 验证 */ ${_customScript} ${_dataresource} aaa: if @ErrorCode!='' insert into tmp_err_retmsg (ID, ErrorCode, retmsg, CreateUserID) select @time_id@,@ErrorCode, @retmsg,@UserID@ ` } else { sql = _dataresource sql = `/* sql 验证 */ ${_dataresource}` } sql = sql.replace(/\n\s{8}/ig, '\n') console.info(sql) return sql }