提交 4b3d7022 authored 作者: 钟是志's avatar 钟是志

增加otherParams

上级 2eb37c9e
...@@ -860,15 +860,7 @@ export default class TableCom extends Component { ...@@ -860,15 +860,7 @@ export default class TableCom extends Component {
return 'norefeshxxxxxxxxxxxxxxxxxxxx'; return 'norefeshxxxxxxxxxxxxxxxxxxxx';
}; };
sqlUtil = (base52, json, orgCallback, sqlKey, params, callback, options = {}) => { sqlUtil = (base52, json, orgCallback, sqlKey, params, callback, options = {}, otherParams = {}) => {
let otherParams = {};
if(params && params.otherParams){
otherParams = {
...params.otherParams,
}
}
// console.log({ // console.log({
// base52, json, orgCallback, sqlKey, params, callback, options // base52, json, orgCallback, sqlKey, params, callback, options
// }) // })
......
...@@ -134,12 +134,8 @@ export const request = (url, data, options = {}) => { ...@@ -134,12 +134,8 @@ export const request = (url, data, options = {}) => {
if (url && test === 'true') { if (url && test === 'true') {
console.log(url, data); console.log(url, data);
} }
if(url.indexOf('queryInfo') > -1){
debugger;
}
return giveBase16EnCode(data, url) return giveBase16EnCode(data, url)
.then((newData) => { .then((newData) => {
if (typeof newData === 'object' && newData.url && newData.datas) { if (typeof newData === 'object' && newData.url && newData.datas) {
return requestFileInfo(newData.url, newData.datas); return requestFileInfo(newData.url, newData.datas);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论