提交 7a83785f authored 作者: 钟是志's avatar 钟是志

sqlUtil函数修改

上级 ac3aaa71
...@@ -863,8 +863,8 @@ export default class TableCom extends Component { ...@@ -863,8 +863,8 @@ export default class TableCom extends Component {
}; };
sqlUtil = (base52, json, orgCallback, sqlKey, params, p1, p2, p3) => { sqlUtil = (base52, json, orgCallback, sqlKey, params, p1, p2, p3) => {
let callback = p1; let callback = p1;
let options = p2; let options = p2 || {};
let otherParams; let otherParams = {};
if (p1 && typeof p1 === 'object') { if (p1 && typeof p1 === 'object') {
callback = p2; callback = p2;
otherParams = p1; otherParams = p1;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论