Vanessa 2024-01-20 23:45:52 +08:00
parent 781e2276bf
commit 7e0c95c8c6
4 changed files with 34 additions and 35 deletions

View file

@ -1330,7 +1330,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "1" "TextMarkTextContent": "1"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1378,7 +1378,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "2" "TextMarkTextContent": "2"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1426,7 +1426,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "3" "TextMarkTextContent": "3"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1474,7 +1474,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "4" "TextMarkTextContent": "4"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1522,7 +1522,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "5" "TextMarkTextContent": "5"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1570,7 +1570,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "6" "TextMarkTextContent": "6"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1618,7 +1618,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "7" "TextMarkTextContent": "7"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1666,7 +1666,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "8" "TextMarkTextContent": "8"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1714,7 +1714,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "9" "TextMarkTextContent": "9"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1762,7 +1762,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "0" "TextMarkTextContent": "0"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",

View file

@ -1328,7 +1328,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "1" "TextMarkTextContent": "1"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1376,7 +1376,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "2" "TextMarkTextContent": "2"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1424,7 +1424,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "3" "TextMarkTextContent": "3"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1472,7 +1472,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "4" "TextMarkTextContent": "4"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1520,7 +1520,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "5" "TextMarkTextContent": "5"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1568,7 +1568,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "6" "TextMarkTextContent": "6"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1616,7 +1616,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "7" "TextMarkTextContent": "7"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1664,7 +1664,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "8" "TextMarkTextContent": "8"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1712,7 +1712,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "9" "TextMarkTextContent": "9"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1760,7 +1760,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "0" "TextMarkTextContent": "0"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",

View file

@ -1321,7 +1321,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "1" "TextMarkTextContent": "1"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1369,7 +1369,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "2" "TextMarkTextContent": "2"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1417,7 +1417,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "3" "TextMarkTextContent": "3"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1465,7 +1465,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "4" "TextMarkTextContent": "4"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1513,7 +1513,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "5" "TextMarkTextContent": "5"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1561,7 +1561,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "6" "TextMarkTextContent": "6"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1609,7 +1609,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "7" "TextMarkTextContent": "7"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1657,7 +1657,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "8" "TextMarkTextContent": "8"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1705,7 +1705,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "9" "TextMarkTextContent": "9"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
@ -1753,7 +1753,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "kbd", "TextMarkType": "kbd",
"TextMarkTextContent": "0" "TextMarkTextContent": "0"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",

View file

@ -6,8 +6,7 @@ declare const NODE_ENV: string;
const _SIYUAN_VERSION = SIYUAN_VERSION; const _SIYUAN_VERSION = SIYUAN_VERSION;
const _NODE_ENV = NODE_ENV; const _NODE_ENV = NODE_ENV;
// const altNumber = navigator.platform.toUpperCase().indexOf("MAC") === -1 ? "⌃" : "⌥"; const altNumber = navigator.platform.toUpperCase().indexOf("MAC") > -1 ? "⌃" : "⌥";
const altNumber = "⌥";
export abstract class Constants { export abstract class Constants {
public static readonly SIYUAN_VERSION: string = _SIYUAN_VERSION; public static readonly SIYUAN_VERSION: string = _SIYUAN_VERSION;