Update self.vue
parent
702e9c0bbf
commit
96c0daa862
|
@ -343,7 +343,7 @@ export default {
|
||||||
this.multipleSelection = val
|
this.multipleSelection = val
|
||||||
},
|
},
|
||||||
checkSpecialKey(str) {
|
checkSpecialKey(str) {
|
||||||
const specialKey = '[]`~!#$^&*=|{}\'":;? '
|
const specialKey = '[]`~!#$^&*=|{}\'":;? \\'
|
||||||
for (let i = 0; i < str.length; i++) {
|
for (let i = 0; i < str.length; i++) {
|
||||||
if (specialKey.indexOf(str.substr(i, 1)) !== -1) {
|
if (specialKey.indexOf(str.substr(i, 1)) !== -1) {
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue