Update self.vue

pull/46/head
StarsL.cn 2022-11-15 04:03:41 +08:00 committed by GitHub
parent 702e9c0bbf
commit 96c0daa862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ export default {
this.multipleSelection = val
},
checkSpecialKey(str) {
const specialKey = '[]`~!#$^&*=|{}\'":;? '
const specialKey = '[]`~!#$^&*=|{}\'":;? \\'
for (let i = 0; i < str.length; i++) {
if (specialKey.indexOf(str.substr(i, 1)) !== -1) {
return false