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.
fix: cancel log
shuai9d3e1b533479
diff --git a/ui/src/utils/common.ts b/ui/src/utils/common.tsindex 2037b88d..e54f6cba 100644--- a/ui/src/utils/common.ts+++ b/ui/src/utils/common.ts@@ -177,7 +177,7 @@ function diffText(newText: string, oldText: string): string {?.replace(/<input/gi, '<input');}const diff = Diff.diffChars(oldText, newText);- console.log(diff);+ // console.log(diff);const result = diff.map((part) => {if (part.added) {if (part.value.replace(/\n/g, '').length <= 0) {