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
@@ -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,
|
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({
|