Commit ca487426a127280809d3203ff44a67a3e6eba9fd

Authored by mfish
Committed by GitHub
1 parent 2387dcdc

删除之前遗留的console (#2463)

* feat(axiosSuccess): 操作成功后根据传入提示模式进行相应

* fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题

* fix(axiosRetry): 参数首字母小写

* fix(useDataSource): 解决deleteTableRecord删除树形表格的行记录时,无法删除,无法找到子节点的问题

* feat(useDataSource): 删除之前提交代码遗留的console
src/components/Table/src/hooks/useDataSource.ts
@@ -187,7 +187,6 @@ export function useDataSource( @@ -187,7 +187,6 @@ export function useDataSource(
187 return { index: i, data }; 187 return { index: i, data };
188 } 188 }
189 if (row.children?.length > 0) { 189 if (row.children?.length > 0) {
190 - console.log(row.children, i);  
191 const result = findRow(row.children, key); 190 const result = findRow(row.children, key);
192 if (result != null) { 191 if (result != null) {
193 return result; 192 return result;