doway-coms 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -847,7 +847,7 @@ export default {
847
847
  values: [],
848
848
  }
849
849
  //查询之前从外部组件构造其他的条件
850
- this.$emit('preSearch', postExpression, repeatRowInfo, this.row,this,newApiObj)
850
+ this.$emit('preSearch', postExpression, repeatRowInfo, this.row,this.newApiObj)
851
851
  let postData = {
852
852
  fields: this.fetchFields,
853
853
  begin:
@@ -996,7 +996,7 @@ export default {
996
996
  },
997
997
  getPostApi(postData) {
998
998
  let tempApi = this.api
999
- if(this.newApiObj){
999
+ if(this.newApiObj.newApi){
1000
1000
  tempApi=this.newApiObj.newApi
1001
1001
  }
1002
1002
  if (this.api.indexOf('?') > 0) {