@cmstops/pro-compo 0.2.5 → 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.
@@ -154,15 +154,13 @@ const _sfc_main = defineComponent({
154
154
  createElementVNode("span", _hoisted_14, toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
155
155
  createElementVNode("span", _hoisted_15, [
156
156
  createVNode(unref(Tooltip), {
157
- content: `\u53D1\u5E03\u65F6\u95F4: ${unref(timeFormat)(
158
- _ctx.item.publishTime || _ctx.item.updatedAt
159
- )}`,
157
+ content: `\u53D1\u5E03\u65F6\u95F4: ${unref(timeFormat)(_ctx.item.distributeTime)}`,
160
158
  position: "top"
161
159
  }, {
162
160
  default: withCtx(() => [
163
161
  createElementVNode("span", null, [
164
162
  createVNode(unref(IconSubscribed)),
165
- createTextVNode(" " + toDisplayString(unref(timeFormat)(_ctx.item.publishTime || _ctx.item.updatedAt)), 1)
163
+ createTextVNode(" " + toDisplayString(unref(timeFormat)(_ctx.item.distributeTime)), 1)
166
164
  ])
167
165
  ]),
168
166
  _: 1
@@ -173,13 +171,13 @@ const _sfc_main = defineComponent({
173
171
  }, toDisplayString(unref(matrixPublishFormalStateMap)[_ctx.item.platformState]), 3),
174
172
  createElementVNode("span", _hoisted_16, [
175
173
  createVNode(unref(Tooltip), {
176
- content: `\u5206\u53D1\u65F6\u95F4: ${unref(timeFormat)(_ctx.item.distributeTime)}`,
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.distributeTime)), 1)
180
+ createTextVNode(" " + toDisplayString(_ctx.item.publishTime ? unref(timeFormat)(_ctx.item.publishTime) : "--"), 1)
183
181
  ])
184
182
  ]),
185
183
  _: 1
@@ -155,15 +155,13 @@ const _sfc_main = vue.defineComponent({
155
155
  vue.createElementVNode("span", _hoisted_14, vue.toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
156
156
  vue.createElementVNode("span", _hoisted_15, [
157
157
  vue.createVNode(vue.unref(webVue.Tooltip), {
158
- content: `\u53D1\u5E03\u65F6\u95F4: ${vue.unref(index.timeFormat)(
159
- _ctx.item.publishTime || _ctx.item.updatedAt
160
- )}`,
158
+ content: `\u53D1\u5E03\u65F6\u95F4: ${vue.unref(index.timeFormat)(_ctx.item.distributeTime)}`,
161
159
  position: "top"
162
160
  }, {
163
161
  default: vue.withCtx(() => [
164
162
  vue.createElementVNode("span", null, [
165
163
  vue.createVNode(vue.unref(icon.IconSubscribed)),
166
- vue.createTextVNode(" " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.publishTime || _ctx.item.updatedAt)), 1)
164
+ vue.createTextVNode(" " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.distributeTime)), 1)
167
165
  ])
168
166
  ]),
169
167
  _: 1
@@ -174,13 +172,13 @@ const _sfc_main = vue.defineComponent({
174
172
  }, vue.toDisplayString(vue.unref(typeMap.matrixPublishFormalStateMap)[_ctx.item.platformState]), 3),
175
173
  vue.createElementVNode("span", _hoisted_16, [
176
174
  vue.createVNode(vue.unref(webVue.Tooltip), {
177
- content: `\u5206\u53D1\u65F6\u95F4: ${vue.unref(index.timeFormat)(_ctx.item.distributeTime)}`,
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.distributeTime)), 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.5",
3
+ "version": "0.2.7",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",