|
|
@@ -2218,7 +2218,7 @@ class Approval extends Component {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- if (mFormStore.size <= 1 && mParams.size <= 1) {
|
|
|
+ if (mFormStore.size <= 1 && isObjEmpty(mParams)) {
|
|
|
this.approvalAgreeRequest()
|
|
|
return
|
|
|
}
|
|
|
@@ -2546,7 +2546,7 @@ class Approval extends Component {
|
|
|
let param = this.putItem2Params(true, detailsObj)
|
|
|
if (isObjNull(param)) {
|
|
|
return false
|
|
|
- } else if (param.size >= 1) {
|
|
|
+ } else if (param.size > 1) {
|
|
|
mParams.push(param)
|
|
|
}
|
|
|
}
|