resolver-egretimp-plus 0.1.129 → 0.1.130

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.1.129",
3
+ "version": "0.1.130",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -84,7 +84,11 @@ const value = computed({
84
84
  if (valueFormat === 'timestamp') {
85
85
  valueFormat = 'x'
86
86
  }
87
- modeValue.value = dayjs(val).format(valueFormat)
87
+ let currentVal = dayjs(val).format(valueFormat)
88
+ if (valueFormat === 'x') {
89
+ currentVal = dayjs(val).toDate().getTime()
90
+ }
91
+ modeValue.value = currentVal
88
92
  }
89
93
  })
90
94
  watch(value, () => {