mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 数据统计
This commit is contained in:
parent
e8f1808cb0
commit
b3c9eba73a
2 changed files with 3 additions and 0 deletions
2
app/src/types/index.d.ts
vendored
2
app/src/types/index.d.ts
vendored
|
|
@ -426,6 +426,8 @@ declare interface IConfig {
|
|||
cBlockCount: number
|
||||
dataSize: number
|
||||
cDataSize: number
|
||||
assetsSize: number
|
||||
cAssetsSize: number
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -145,6 +145,7 @@ export const addGA = () => {
|
|||
cTreeCount: window.siyuan.config.stat.cTreeCount,
|
||||
cBlockCount: window.siyuan.config.stat.cBlockCount,
|
||||
cDataSize: window.siyuan.config.stat.cDataSize,
|
||||
cAssetsSize: window.siyuan.config.stat.cAssetsSize,
|
||||
};
|
||||
if (window.siyuan.user) {
|
||||
para.isLoggedIn = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue