diff --git a/src/assets/js/mock.js b/src/assets/js/mock.js index 9aff2ffe078c5cb24582ce6290e21631c0ad24e7..234fe7000b483bd81e17c347e0fe66579686a9b0 100644 --- a/src/assets/js/mock.js +++ b/src/assets/js/mock.js @@ -31,7 +31,7 @@ const keys = [ { id: 4, type: "Letter", primaryName: "]", subName: "}" }, { id: 4, type: "Fill", primaryName: "\\", subName: "|" }, // 第三行 - { id: 4, type: "Caps Lock", primaryName: "Caps Lock", subName: "" }, + { id: 4, type: "Caps Lock", primaryName: "CapsLock", subName: "" }, { id: 4, type: "Letter", primaryName: "A", subName: "" }, { id: 4, type: "Letter", primaryName: "S", subName: "" }, { id: 4, type: "Letter", primaryName: "D", subName: "" }, @@ -42,7 +42,7 @@ const keys = [ { id: 4, type: "Letter", primaryName: "K", subName: "" }, { id: 4, type: "Letter", primaryName: "L", subName: "" }, { id: 4, type: "Letter", primaryName: ";", subName: ":" }, - { id: 4, type: "Letter", primaryName: ",", subName: "\"" }, + { id: 4, type: "Letter", primaryName: "'", subName: '"' }, { id: 4, type: "Fill", primaryName: "Enter", subName: "" }, // 第四行 { id: 4, type: "Shift", primaryName: "Shift", subName: "" }, @@ -60,10 +60,9 @@ const keys = [ // 第五行 { id: 4, type: "Function", primaryName: "Ctrl", subName: "" }, { id: 4, type: "Letter", primaryName: "Alt", subName: "" }, - // { id: 4, type: "Function", primaryName: "Command", subName: "" }, - { id: 4, type: "Fill", primaryName: "", subName: "" }, + { id: 4, type: "Fill", primaryName: " ", subName: "" }, { id: 4, type: "Letter", primaryName: "Alt", subName: "" }, - { id: 4, type: "Function", primaryName: "Ctrl", subName: "" }, + { id: 4, type: "Function", primaryName: "Ctrl", subName: "" } ]; export default keys; diff --git a/src/components/key.vue b/src/components/key.vue index a0deb324703db4ad357bfd45da73a2f576e342dc..93a6fafd252ed63457d2cc58177c9d67a8ab1b6b 100644 --- a/src/components/key.vue +++ b/src/components/key.vue @@ -1,9 +1,9 @@