Commit 98ddf52f401a88d8fe4b6055eab753147aa58a10

Authored by ww
1 parent 478618a0

perf: drop console.log in code

@@ -244,7 +244,6 @@ @@ -244,7 +244,6 @@
244 // selectedTotal.value = unref(selectedRowKeys).length; 244 // selectedTotal.value = unref(selectedRowKeys).length;
245 pendingTotal.value = unref(pendingTotal) - currentPageSelectRows.length; 245 pendingTotal.value = unref(pendingTotal) - currentPageSelectRows.length;
246 selectedTotal.value = unref(selectedTotal) + currentPageSelectRows.length; 246 selectedTotal.value = unref(selectedTotal) + currentPageSelectRows.length;
247 - console.log(unref(pendingTotal));  
248 247
249 clearPendingSelectedRowKeys(); 248 clearPendingSelectedRowKeys();
250 handleTriggerEmit(unref(selectedRowKeys), unref(selectedRows)); 249 handleTriggerEmit(unref(selectedRowKeys), unref(selectedRows));
@@ -70,8 +70,8 @@ const handleGroupDevice = (options: DeviceRecord[]) => { @@ -70,8 +70,8 @@ const handleGroupDevice = (options: DeviceRecord[]) => {
70 } 70 }
71 }); 71 });
72 const value = Array.from(map.entries()).map(([product, devices]) => ({ product, devices })); 72 const value = Array.from(map.entries()).map(([product, devices]) => ({ product, devices }));
73 - console.log(value);  
74 - return Array.from(map.entries()).map(([product, devices]) => ({ product, devices })); 73 +
  74 + return value;
75 }; 75 };
76 76
77 const deviceTableFormSchema: FormSchema[] = [ 77 const deviceTableFormSchema: FormSchema[] = [