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