resolver-egretimp-plus 0.0.198 → 0.0.200

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.198",
3
+ "version": "0.0.200",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -36,7 +36,8 @@ const value = computed(() => {
36
36
  if (!modelValue.value) {
37
37
  return ''
38
38
  }
39
- return dayjs(modelValue.value, props?.config?.format || 'YYYY-MM-DD').format(props?.config?.format || 'YYYY-MM-DD')
39
+ const val = isNaN(Number(modelValue.value)) ? modelValue.value : Number(modelValue.value)
40
+ return dayjs(val).format(props?.config?.format || 'YYYY-MM-DD')
40
41
  }
41
42
  return modelValue.value
42
43
  }
@@ -33,7 +33,8 @@ const props = defineProps({
33
33
  })
34
34
  const dataLoad = inject('dataLoad')
35
35
  const metaCode = computed(() => {
36
- return `${props.config?.metaCode}-${props?.rowScope?.$index || ''}`
36
+ return props.config.dynamicHireRelat?.replace(/(\]|\[|(->))/g, '')
37
+ // return `${props.config?.metaCode}-${props?.rowScope?.$index || ''}`
37
38
  })
38
39
  const styleObj = computed(() => {
39
40
  const obj = {}