@cmstops/pro-compo 0.3.100 → 3.9.0

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.
@@ -48,7 +48,7 @@ const _sfc_main = defineComponent({
48
48
  brief: "",
49
49
  guide: "",
50
50
  keywords: [],
51
- author: "",
51
+ author: [],
52
52
  duty_editor: [],
53
53
  extra_attrs: [],
54
54
  self_publish_time: "",
@@ -186,6 +186,7 @@ const _sfc_main = defineComponent({
186
186
  data.offline_time = data.offline_time && Math.floor(data.offline_time / 1e3);
187
187
  data.keywords = data.keywords && data.keywords.join(",");
188
188
  data.duty_editor = data.duty_editor && data.duty_editor.join(",");
189
+ data.author = data.author && data.author.join(",");
189
190
  data.extra_attrs = data.extra_attrs && data.extra_attrs.join(",");
190
191
  data.relation_news = data.relation_news && JSON.stringify(data.relation_news);
191
192
  data.comment_available = !!data.comment_available;
@@ -215,6 +216,7 @@ const _sfc_main = defineComponent({
215
216
  data.offline_time = data.offline_time && parseInt(data.offline_time, 10) * 1e3 || "";
216
217
  data.keywords = data.keywords && data.keywords.split(",") || [];
217
218
  data.duty_editor = data.duty_editor && data.duty_editor.split(",") || [];
219
+ data.author = data.author && data.author.split(",") || [];
218
220
  data.extra_attrs = data.extra_attrs && data.extra_attrs.split(",") || [];
219
221
  data.relation_news = data.relation_news && JSON.parse(data.relation_news) || [];
220
222
  data.line_time = !!(data.online_time || data.offline_time);
@@ -521,7 +523,7 @@ const _sfc_main = defineComponent({
521
523
  label: "\u4F5C\u8005"
522
524
  }, {
523
525
  default: withCtx(() => [
524
- createVNode(unref(Input), {
526
+ createVNode(unref(InputTag), {
525
527
  modelValue: form.value.author,
526
528
  "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => form.value.author = $event),
527
529
  "allow-clear": "",
@@ -49,7 +49,7 @@ const _sfc_main = vue.defineComponent({
49
49
  brief: "",
50
50
  guide: "",
51
51
  keywords: [],
52
- author: "",
52
+ author: [],
53
53
  duty_editor: [],
54
54
  extra_attrs: [],
55
55
  self_publish_time: "",
@@ -187,6 +187,7 @@ const _sfc_main = vue.defineComponent({
187
187
  data.offline_time = data.offline_time && Math.floor(data.offline_time / 1e3);
188
188
  data.keywords = data.keywords && data.keywords.join(",");
189
189
  data.duty_editor = data.duty_editor && data.duty_editor.join(",");
190
+ data.author = data.author && data.author.join(",");
190
191
  data.extra_attrs = data.extra_attrs && data.extra_attrs.join(",");
191
192
  data.relation_news = data.relation_news && JSON.stringify(data.relation_news);
192
193
  data.comment_available = !!data.comment_available;
@@ -216,6 +217,7 @@ const _sfc_main = vue.defineComponent({
216
217
  data.offline_time = data.offline_time && parseInt(data.offline_time, 10) * 1e3 || "";
217
218
  data.keywords = data.keywords && data.keywords.split(",") || [];
218
219
  data.duty_editor = data.duty_editor && data.duty_editor.split(",") || [];
220
+ data.author = data.author && data.author.split(",") || [];
219
221
  data.extra_attrs = data.extra_attrs && data.extra_attrs.split(",") || [];
220
222
  data.relation_news = data.relation_news && JSON.parse(data.relation_news) || [];
221
223
  data.line_time = !!(data.online_time || data.offline_time);
@@ -522,7 +524,7 @@ const _sfc_main = vue.defineComponent({
522
524
  label: "\u4F5C\u8005"
523
525
  }, {
524
526
  default: vue.withCtx(() => [
525
- vue.createVNode(vue.unref(webVue.Input), {
527
+ vue.createVNode(vue.unref(webVue.InputTag), {
526
528
  modelValue: form.value.author,
527
529
  "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => form.value.author = $event),
528
530
  "allow-clear": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.3.100",
3
+ "version": "3.9.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",