tianheng-ui 0.1.9 → 0.1.10

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,7 +1,7 @@
1
1
  {
2
2
  "name": "tianheng-ui",
3
3
  "description": "A Vue.js project",
4
- "version": "0.1.9",
4
+ "version": "0.1.10",
5
5
  "author": "shu lang <403732931@qq.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -345,7 +345,7 @@ export default {
345
345
  url: apiInfo.api,
346
346
  method: apiInfo.method,
347
347
  headers: apiInfo.headers,
348
- data: { ...apiInfo.params, ids: this.dialog.data.id }
348
+ data: { ...apiInfo.params, id: this.dialog.data.id }
349
349
  })
350
350
  .then(res => {
351
351
  callback(true);
@@ -367,7 +367,7 @@ export default {
367
367
  this.dialog.action.loading = true;
368
368
  const data = [];
369
369
  for (const item of this.tableSelectionData) {
370
- data.push(item.id);
370
+ data.push({ id: item.id });
371
371
  }
372
372
  const apiInfo = this.networkConfig.batchDelete;
373
373
  this.axios({