diff --git a/src/utils/http/axios/Axios.ts b/src/utils/http/axios/Axios.ts index d1f87875cda72c03cc525dab6f476750fbe4ce22..95c650d2cb112298c8bd74e1aa10d6b7a1bca4e6 100644 --- a/src/utils/http/axios/Axios.ts +++ b/src/utils/http/axios/Axios.ts @@ -132,13 +132,13 @@ export class VAxios { if (params.data) { Object.keys(params.data).forEach((key) => { - const value = params.data![key]; - if (Array.isArray(value)) { - value.forEach((item) => { - formData.append(`${key}[]`, item); - }); - return; - } + // const value = params.data![key]; + // if (Array.isArray(value)) { + // value.forEach((item) => { + // formData.append(`${key}[]`, item); + // }); + // return; + // } formData.append(key, params.data![key]); }); diff --git a/src/views/regionalSpotManage/components/list.vue b/src/views/regionalSpotManage/components/list.vue index 117697f3f72607f43dafbde4bfda6a1b75bcd3a1..611bdac827965de3491c0678de39010fef210d77 100644 --- a/src/views/regionalSpotManage/components/list.vue +++ b/src/views/regionalSpotManage/components/list.vue @@ -294,6 +294,7 @@ const res = await regionalSpotManageOpsDeleteProductApi(param.value); if (res.success) { message.success('删除成功'); + delVisibleCancel(); } else { message.success(res.message); } @@ -393,7 +394,7 @@ { ghsCode: ghsCode, ghsName: ghsName, - areaIds: impotrCheckboxValue.value, + areaIds: impotrCheckboxValue.value.join(','), }, productExcelList.value[0], );