resolver-egretimp-plus 0.0.246 → 0.0.248

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.246",
3
+ "version": "0.0.248",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -404,7 +404,7 @@ export default {
404
404
  attrs.background = true
405
405
  }
406
406
  if (!hasOwn(attrs, 'layout')) {
407
- attrs.layout = 'prev, pager, next, sizes, jumper'
407
+ attrs.layout = 'prev, pager, next, jumper, sizes, total'
408
408
  }
409
409
  if (!hasOwn(attrs, 'page-sizes') && !hasOwn(attrs, 'pageSizes')) {
410
410
  attrs.pageSizes = [5, 10, 20, 40]
@@ -221,7 +221,13 @@ export function parseCondition(rule) {
221
221
  targetVal = (targetVal === undefined || targetVal === null) ? '' : targetVal
222
222
  switch (condition.symbol) {
223
223
  case 1:
224
- return refVal > targetVal
224
+ let formatRefVal = refVal
225
+ let formatTargetVal = targetVal
226
+ if (refVal == Number(refVal) && targetVal == Number(targetVal)) {
227
+ formatRefVal = Number(refVal)
228
+ formatTargetVal = Number(targetVal)
229
+ }
230
+ return formatRefVal > formatTargetVal
225
231
  case 2:
226
232
  return refVal >= targetVal
227
233
  case 3:
File without changes
@@ -48,3 +48,4 @@
48
48
  @import './pagination.scss';
49
49
  @import './checkbox.scss';
50
50
  @import './button.scss';
51
+ @import './cycle.scss';