|
@@ -44,7 +44,7 @@ Vue.prototype.$hasPermissions = function (value) {
|
|
}
|
|
}
|
|
// 禁止输入框输入空格,换行符,<,>
|
|
// 禁止输入框输入空格,换行符,<,>
|
|
Vue.prototype.$filterEmpty = function (e) {
|
|
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({
|
|
new Vue({
|
|
router,
|
|
router,
|