lilei 4 anos atrás
pai
commit
bc5e67410f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/main.js

+ 1 - 1
src/main.js

@@ -44,7 +44,7 @@ Vue.prototype.$hasPermissions = function (value) {
 }
 // 禁止输入框输入空格,换行符,<,>
 Vue.prototype.$filterEmpty = function (e) {
-  return e.target.value.replace(/\s|\r\n|\n|<|>|"/g, '')
+  return e.target.value.replace(/\s|\r\n|\n|<|>/g, '')
 }
 new Vue({
   router,