mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-11 22:51:20 +08:00
🎨 Improve the mouse hove data sync button information on the desktop and browser https://github.com/siyuan-note/siyuan/issues/8521
This commit is contained in:
parent
9fc86593f4
commit
a64b95f98e
@ -243,13 +243,13 @@ export const initBar = (app: App) => {
|
|||||||
html = window.siyuan.languages._kernel[82].replace("%s", dayjs(response.data.synced).format("YYYY-MM-DD HH:mm")) + " " + response.data.kernel + "\n"
|
html = window.siyuan.languages._kernel[82].replace("%s", dayjs(response.data.synced).format("YYYY-MM-DD HH:mm")) + " " + response.data.kernel + "\n"
|
||||||
html += response.data.stat;
|
html += response.data.stat;
|
||||||
if (response.data.kernels.length > 0) {
|
if (response.data.kernels.length > 0) {
|
||||||
|
html += "\n\n"
|
||||||
response.data.kernels.forEach((item: {
|
response.data.kernels.forEach((item: {
|
||||||
os: string;
|
os: string;
|
||||||
ver: string;
|
ver: string;
|
||||||
hostname: string;
|
hostname: string;
|
||||||
id: string;
|
id: string;
|
||||||
}) => {
|
}) => {
|
||||||
html += "\n\n"
|
|
||||||
html += `${item.os}-${item.ver} ${item.hostname} ${item.id}\n`
|
html += `${item.os}-${item.ver} ${item.hostname} ${item.id}\n`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user