feat: dataReport 增加 disabled 开关,默认关闭埋点与上报
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -19,6 +19,9 @@ const (
|
||||
)
|
||||
|
||||
func Report() {
|
||||
if !dataReport.Enabled() {
|
||||
return
|
||||
}
|
||||
//防止重入
|
||||
if isRuining {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user