-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove editor input console log #13346
Comments
这个确实 |
其实没用的,即使官方不输出,插件里也会输出一堆 |
主要是我开发插件要看。
我的插件不输出这些。
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年12月3日(周二) 晚上6:27
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [siyuan-note/siyuan] 每次打开开发者工具,都会打印一些内容块。 希望能有选项关掉。 (Issue #13346)
其实没用的,即使官方不输出,插件里也会输出一堆
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
![]() 过滤下就好了,官方输出的就是九牛一毛而已,仅仅官方去掉输出解决不了你的问题。 |
不影响,还是去掉更好 |
@Vanessa219 拖动开发者工具输出的这个能不能也去掉: |
这个我的不会输出 |
@Vanessa219 这个: siyuan/app/src/protyle/util/resize.ts Line 26 in 914c765
|
建议搞个全局函数,然后判断仅开发环境输出 |
我希望开发环境也去掉,因为我一直用的都是开发环境🫠 |
一些打包工具可以去掉js中的输出的。 |
哦哦,不要小看console.log,如果在循环里,且数据量大的话,这个输出直接让性能断崖式下降,毕竟是io操作。 |
移除编辑器输入日志
v3.1.14 每次打开开发者工具,都会打印一些内容块。 希望能有选项关掉。
The text was updated successfully, but these errors were encountered: