no message

This commit is contained in:
kuaifan 2022-12-13 07:15:46 +08:00
parent b2652e98fc
commit 154b145e33

View File

@ -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
}