zhangjie 2 роки тому
батько
коміт
845086b8a2
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/modules/base/views/OrganizationManage.vue

+ 1 - 1
src/modules/base/views/OrganizationManage.vue

@@ -173,7 +173,7 @@ export default {
         type: "warning"
         type: "warning"
       })
       })
         .then(async () => {
         .then(async () => {
-          await deleteOrganization(data.id);
+          await deleteOrganization([data.id]);
 
 
           const parent = node.parent;
           const parent = node.parent;
           const children = parent.data.children || parent.data;
           const children = parent.data.children || parent.data;