This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch ui-optimization
in repository https://gitbox.apache.org/repos/asf/answer.git


The following commit(s) were added to refs/heads/ui-optimization by this push:
     new 688d2523 style: delete logs
688d2523 is described below

commit 688d2523c3492d7826fe544f0527863e84ccbfc6
Author: shuai <[email protected]>
AuthorDate: Mon Apr 14 10:42:21 2025 +0800

    style: delete logs
---
 ui/src/components/Customize/index.tsx   | 1 -
 ui/src/components/Editor/toolItem.tsx   | 1 -
 ui/src/components/Editor/utils/index.ts | 1 -
 ui/src/components/TagSelector/index.tsx | 1 -
 4 files changed, 4 deletions(-)

diff --git a/ui/src/components/Customize/index.tsx 
b/ui/src/components/Customize/index.tsx
index 0ac4156d..c02db675 100644
--- a/ui/src/components/Customize/index.tsx
+++ b/ui/src/components/Customize/index.tsx
@@ -109,7 +109,6 @@ const handleCustomHeader = (content) => {
 };
 
 const handleCustomFooter = (content) => {
-  console.log('handleCustomFooter', content);
   const el = document.body;
   renderCustomArea(el, CUSTOM_MARK_FOOTER, 'beforeend', content);
 };
diff --git a/ui/src/components/Editor/toolItem.tsx 
b/ui/src/components/Editor/toolItem.tsx
index e7b21867..0c4ca2f1 100644
--- a/ui/src/components/Editor/toolItem.tsx
+++ b/ui/src/components/Editor/toolItem.tsx
@@ -93,7 +93,6 @@ const ToolItem: FC<IProps> = (props) => {
       disabled={disable}
       tabIndex={-1}
       onClick={(e) => {
-        console.log('onClick', e);
         e.preventDefault();
         onClick?.({
           editor,
diff --git a/ui/src/components/Editor/utils/index.ts 
b/ui/src/components/Editor/utils/index.ts
index 768319fa..3977367c 100644
--- a/ui/src/components/Editor/utils/index.ts
+++ b/ui/src/components/Editor/utils/index.ts
@@ -119,7 +119,6 @@ export function htmlRender(el: HTMLElement | null, config?: 
htmlRenderConfig) {
       tooltipInstance?.setContent({ '.tooltip-inner': copySuccessText });
       const myTooltipEl = document.querySelector(`#${uniqueId}`);
       myTooltipEl?.addEventListener('hidden.bs.tooltip', () => {
-        console.log('hidden.bs.tooltip');
         tooltipInstance.setContent({ '.tooltip-inner': copyText });
       });
     });
diff --git a/ui/src/components/TagSelector/index.tsx 
b/ui/src/components/TagSelector/index.tsx
index abacaff6..c7425947 100644
--- a/ui/src/components/TagSelector/index.tsx
+++ b/ui/src/components/TagSelector/index.tsx
@@ -233,7 +233,6 @@ const TagSelector: FC<IProps> = ({
     e.stopPropagation();
     const { keyCode } = e;
     if (keyCode === 9) {
-      console.log('tab====9');
       // handleTagSelectorBlur();
       return;
     }

Reply via email to