mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-04-15 20:11:52 +08:00
Compare commits
2 Commits
b65ef06acd
...
037db837b2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
037db837b2 | ||
|
|
e91fab8a94 |
Binary file not shown.
@@ -4048,5 +4048,18 @@
|
||||
{
|
||||
"group": 2,
|
||||
"name": "流云江"
|
||||
},
|
||||
{
|
||||
"group": 2,
|
||||
"name": "乌鸦老舅"
|
||||
},
|
||||
{
|
||||
"group": 1,
|
||||
"name": "0605的前桌王同学",
|
||||
"comment": "十年了,王新慧,别来无恙?"
|
||||
},
|
||||
{
|
||||
"group": 2,
|
||||
"name": "小王"
|
||||
}
|
||||
]
|
||||
File diff suppressed because one or more lines are too long
@@ -30,8 +30,8 @@ class App{
|
||||
globalThis.onerror = (event, source, lineno, colno, error) => {
|
||||
this.hint(`[ERROR] at (${source}:${lineno}:${colno})\n\n${error?.stack||error||'unknow Error'}`, 'error');
|
||||
}
|
||||
const keyDownCallback = (keyboardEvent) => {
|
||||
if (keyboardEvent.which === 13 || keyboardEvent.keyCode === 13) {
|
||||
const keyDownCallback = ({which: w, keyCode: k}) => {
|
||||
if ( w === 13 || k === 13 || w === 32 || k === 32 ) {
|
||||
const pressEnterFunc = this.#pages[this.#currentPage]?.pressEnter;
|
||||
pressEnterFunc && typeof pressEnterFunc === 'function' && pressEnterFunc();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user