mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-04 08:17:04 +00:00
no message
This commit is contained in:
parent
b2652e98fc
commit
154b145e33
@ -74,7 +74,7 @@ export default {
|
||||
|
||||
onKeydown({key, keyCode}) {
|
||||
if (keyCode !== 8) {
|
||||
key = /^[A-Za-z0-9]?$/.test(key) ? key : ""
|
||||
key = /^[A-Za-z0-9]?$/.test(key) ? key.toUpperCase() : ""
|
||||
if (key) {
|
||||
this.formData.screenshot_key = key
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user