diff --git a/src/components/Common/CommonBase.js b/src/components/Common/CommonBase.js index 5eeab52..d5755aa 100644 --- a/src/components/Common/CommonBase.js +++ b/src/components/Common/CommonBase.js @@ -451,7 +451,7 @@ export default (ChildComponent) => { } const url = `${commonConfig.server_host}business/getSelectLimit/${showConfig.sId}?sModelsId=${this.state.sModelsId}&sName=${formSrcRoute}`; /* 参数 */ - const nameNew = name.includes('slaveUp') ? 'slave' : name; + const nameNew = (name.includes('slaveUp') || name.includes('slaveDown')) ? 'slave' : name; const conditonValues = this.getSqlCondition(showConfig, nameNew, record); const body = {