@ebiz/designer-components 0.0.39 → 0.0.41

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": "@ebiz/designer-components",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -151,7 +151,8 @@ let apiMap = {
151
151
  DEL_DATA: '/appdata/delData',
152
152
  BATCH_DEL_DATA: '/appdata/delDatas',
153
153
  MULTIPLE_DATA_LINK_SEARCH: '/api/appdata/link/select',
154
- FILE_UPLOAD: '/api/file/upload' // 文件上传API
154
+ FILE_UPLOAD: '/api/file/upload', // 文件上传API
155
+ PROCESS: '/appdata/process'
155
156
  }
156
157
 
157
158
  /**
@@ -171,6 +172,10 @@ const dataService = {
171
172
  fetch: (params = {}, apiConfig = {}, url = '') => {
172
173
  if (!url) {
173
174
  url = apiMap[apiConfig.apiType+'']
175
+ if (!url) {
176
+ url = apiMap.PROCESS
177
+ }
178
+ url += '?key=' + apiConfig.key
174
179
  }
175
180
 
176
181
  const { apiId = '', ...restConfig } = apiConfig