mirror of https://gitee.com/y_project/RuoYi.git
update ruoyi-admin/src/main/resources/static/ruoyi/js/common.js.
input 数字输入框无法删除内容pull/341/head
parent
e0b7910d5e
commit
ed8834075e
|
@ -511,7 +511,7 @@ window.onload = function() {
|
||||||
return _stopIt(event);
|
return _stopIt(event);
|
||||||
}
|
}
|
||||||
var type_e = elem.type.toUpperCase();
|
var type_e = elem.type.toUpperCase();
|
||||||
if (name == 'INPUT' && (type_e != 'TEXT' && type_e != 'TEXTAREA' && type_e != 'PASSWORD' && type_e != 'FILE' && type_e != 'SEARCH')) {
|
if (name == 'INPUT' && (type_e != 'TEXT' && type_e != 'TEXTAREA' && type_e != 'PASSWORD' && type_e != 'FILE' && type_e != 'SEARCH' && type_e != 'NUMBER')) {
|
||||||
return _stopIt(event);
|
return _stopIt(event);
|
||||||
}
|
}
|
||||||
if (name == 'INPUT' && (elem.readOnly == true || elem.disabled == true)) {
|
if (name == 'INPUT' && (elem.readOnly == true || elem.disabled == true)) {
|
||||||
|
|
Loading…
Reference in New Issue