resolver-egretimp-plus 0.0.210 → 0.0.212

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.210",
3
+ "version": "0.0.212",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -280,7 +280,7 @@ function normalResult(ret, config) {
280
280
  ret[config.metaCode] = formatAmount(ret[config.metaCode], config.amountFormat)
281
281
  }
282
282
  if (typeof config?.formatter === "function") {
283
- ret[config.metaCode] = config.formatter(ret[config.metaCode], config, props)
283
+ ret[config.metaCode] = config.formatter(ret[config.metaCode], ret, config, props)
284
284
  }
285
285
  }
286
286
 
@@ -87,7 +87,7 @@ const componentProps = computed(() => {
87
87
  </script>
88
88
  <style lang="scss">
89
89
  .custom-component-cycle {
90
- width: 100%;
90
+ // width: 100%;
91
91
  .el-card + .el-card {
92
92
  margin-top: 16px;
93
93
  }
@@ -70,7 +70,7 @@ const allInitEvents = {
70
70
  } else {
71
71
  let routeMatchs = null
72
72
  const _absoluteTarget = /^_absoluteTarget:(.+)$/
73
- const matchs = val.match(_absoluteTarget)
73
+ const matchs = val?.match?.(_absoluteTarget)
74
74
  if ( typeof val === 'string' && (routeMatchs = val.match(/^_route:(.*)$/))) {
75
75
  const { config } = this
76
76
  const queryKey = routeMatchs[1]
@@ -82,7 +82,7 @@ const allInitEvents = {
82
82
  val = targetConfig?.bindValue || ''
83
83
  } else {
84
84
  const _assginKey = /^_assgin:(.*)$/
85
- const matchs = val.match(_assginKey)
85
+ const matchs = val?.match?.(_assginKey)
86
86
  if (matchs) {
87
87
  val = matchs?.[1]
88
88
  } else {
@@ -8,6 +8,7 @@
8
8
  }
9
9
 
10
10
  & > .CustomComponentTable,
11
+ & > .CustomComponentCycle,
11
12
  & > .CustomComponentRow {
12
13
  & > div {
13
14
  margin-right: 16px;