lilei %!s(int64=4) %!d(string=hai) anos
pai
achega
bc5e67410f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,