doway-coms 1.4.41 → 1.4.42

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": "1.4.41",
3
+ "version": "1.4.42",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -80,7 +80,11 @@ export default {
80
80
  })
81
81
  } else {
82
82
  let ids = JSON.stringify(data)
83
- this.url = url + '?token=' + this.$store.getters.token + '&ids=' + ids + '&companyId=' + companyId
83
+ if (companyId) {
84
+ this.url = url + '?token=' + this.$store.getters.token + '&ids=' + ids + '&companyId=' + companyId
85
+ } else {
86
+ this.url = url + '?token=' + this.$store.getters.token + '&ids=' + ids
87
+ }
84
88
  }
85
89
  },
86
90
  closeModal() {