Skip to content

Commit c2f8461

Browse files
committed
refactor: 移除MarkdownEditor组件中的调试日志
移除不必要的console.log语句,以保持代码整洁并减少调试信息的输出
1 parent 093902a commit c2f8461

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

blog-web/src/components/solid/MarkdownEditor.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ export default function MarkdownEditor() {
8181
if (uploadToken()) {
8282
headers['Authorization'] = `Bearer ${uploadToken()}`;
8383
}
84-
console.log(headers)
8584
const response = await http.post('/upload', formData, {
8685
baseURL: 'http://121.62.28.11:40027/api/v1',
8786
headers: headers
@@ -195,7 +194,6 @@ export default function MarkdownEditor() {
195194
if (uploadToken()) {
196195
headers['Authorization'] = `Bearer ${uploadToken()}`;
197196
}
198-
console.log(headers)
199197
const response = await http.post('/upload', formData, {
200198
baseURL: 'http://121.62.28.11:40027/api/v1',
201199
headers: headers

0 commit comments

Comments
 (0)