@cmstops/pro-compo 0.2.6 → 0.2.7

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.
@@ -171,15 +171,13 @@ const _sfc_main = defineComponent({
171
171
  }, toDisplayString(unref(matrixPublishFormalStateMap)[_ctx.item.platformState]), 3),
172
172
  createElementVNode("span", _hoisted_16, [
173
173
  createVNode(unref(Tooltip), {
174
- content: `\u5206\u53D1\u65F6\u95F4: ${unref(timeFormat)(
175
- _ctx.item.publishTime || _ctx.item.updatedAt
176
- )}`,
174
+ content: `\u5206\u53D1\u65F6\u95F4: ${_ctx.item.publishTime ? unref(timeFormat)(_ctx.item.publishTime) : "--"}`,
177
175
  position: "top"
178
176
  }, {
179
177
  default: withCtx(() => [
180
178
  createElementVNode("span", null, [
181
179
  createVNode(unref(IconSend)),
182
- createTextVNode(" " + toDisplayString(unref(timeFormat)(_ctx.item.publishTime || _ctx.item.updatedAt)), 1)
180
+ createTextVNode(" " + toDisplayString(_ctx.item.publishTime ? unref(timeFormat)(_ctx.item.publishTime) : "--"), 1)
183
181
  ])
184
182
  ]),
185
183
  _: 1
@@ -172,15 +172,13 @@ const _sfc_main = vue.defineComponent({
172
172
  }, vue.toDisplayString(vue.unref(typeMap.matrixPublishFormalStateMap)[_ctx.item.platformState]), 3),
173
173
  vue.createElementVNode("span", _hoisted_16, [
174
174
  vue.createVNode(vue.unref(webVue.Tooltip), {
175
- content: `\u5206\u53D1\u65F6\u95F4: ${vue.unref(index.timeFormat)(
176
- _ctx.item.publishTime || _ctx.item.updatedAt
177
- )}`,
175
+ content: `\u5206\u53D1\u65F6\u95F4: ${_ctx.item.publishTime ? vue.unref(index.timeFormat)(_ctx.item.publishTime) : "--"}`,
178
176
  position: "top"
179
177
  }, {
180
178
  default: vue.withCtx(() => [
181
179
  vue.createElementVNode("span", null, [
182
180
  vue.createVNode(vue.unref(icon.IconSend)),
183
- vue.createTextVNode(" " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.publishTime || _ctx.item.updatedAt)), 1)
181
+ vue.createTextVNode(" " + vue.toDisplayString(_ctx.item.publishTime ? vue.unref(index.timeFormat)(_ctx.item.publishTime) : "--"), 1)
184
182
  ])
185
183
  ]),
186
184
  _: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",