guy 7 years ago
parent
commit
1d92b644da
  1. 5
      bi/core.js
  2. 5
      docs/bundle.js
  3. 5
      docs/core.js
  4. 57374
      docs/core.js.orig
  5. 5
      src/core/alias.js

5
bi/core.js

@ -3123,6 +3123,11 @@ if (!window.BI) {
} else {
return _numberFormat((-text) + "", format.substr(numMod + 1));
}
} else {
//兼容格式处理负数的情况(copy:fr-jquery.format.js)
if (+text < 0 && format.charAt(0) !== '-') {
return _numberFormat((-text) + "", '-' + format);
}
}
var tp = text.split('.'), fp = format.split('.'),
tleft = tp[0] || '', fleft = fp[0] || '',

5
docs/bundle.js

@ -20110,6 +20110,11 @@ BI.PopoverSection.EVENT_CLOSE = "EVENT_CLOSE";;(function () {
} else {
return _numberFormat((-text) + "", format.substr(numMod + 1));
}
} else {
//兼容格式处理负数的情况(copy:fr-jquery.format.js)
if (+text < 0 && format.charAt(0) !== '-') {
return _numberFormat((-text) + "", '-' + format);
}
}
var tp = text.split('.'), fp = format.split('.'),
tleft = tp[0] || '', fleft = fp[0] || '',

5
docs/core.js

@ -20110,6 +20110,11 @@ BI.PopoverSection.EVENT_CLOSE = "EVENT_CLOSE";;(function () {
} else {
return _numberFormat((-text) + "", format.substr(numMod + 1));
}
} else {
//兼容格式处理负数的情况(copy:fr-jquery.format.js)
if (+text < 0 && format.charAt(0) !== '-') {
return _numberFormat((-text) + "", '-' + format);
}
}
var tp = text.split('.'), fp = format.split('.'),
tleft = tp[0] || '', fleft = fp[0] || '',

57374
docs/core.js.orig

File diff suppressed because it is too large Load Diff

5
src/core/alias.js

@ -75,6 +75,11 @@
} else {
return _numberFormat((-text) + "", format.substr(numMod + 1));
}
} else {
//兼容格式处理负数的情况(copy:fr-jquery.format.js)
if (+text < 0 && format.charAt(0) !== '-') {
return _numberFormat((-text) + "", '-' + format);
}
}
var tp = text.split('.'), fp = format.split('.'),
tleft = tp[0] || '', fleft = fp[0] || '',

Loading…
Cancel
Save