Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

style: delete logs

shuai688d2523c349
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;
}