移动端去空格
This commit is contained in:
parent
4b2e87fa85
commit
61ab95f2c2
@ -1954,7 +1954,7 @@ function sortModelByNumber() {
|
|||||||
if (attr != null && attr.id) {
|
if (attr != null && attr.id) {
|
||||||
|
|
||||||
if(attr.id=="activity_number"){
|
if(attr.id=="activity_number"){
|
||||||
var number = attr.value;
|
var number = attr.value.trim();
|
||||||
var subNumer=number< 10 ? number.substr(1,1) : number;
|
var subNumer=number< 10 ? number.substr(1,1) : number;
|
||||||
|
|
||||||
if(typeof subNumer == 'string') {
|
if(typeof subNumer == 'string') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user