filters: {
numFilter: function (num) {
if (num == null) {
return '0'
} else {
num=(num/10000).toFixed(2)
return num;
}
},
numFilter2: function (num) {
if (num == null) {
return '0'
} else {
return num;
}
},
}
不会copy的程序员不是好的程序员!
filters: {
numFilter: function (num) {
if (num == null) {
return '0'
} else {
num=(num/10000).toFixed(2)
return num;
}
},
numFilter2: function (num) {
if (num == null) {
return '0'
} else {
return num;
}
},
}
不会copy的程序员不是好的程序员!