vue2-client 1.15.98 → 1.15.100

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": "vue2-client",
3
- "version": "1.15.98",
3
+ "version": "1.15.100",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -20,7 +20,7 @@
20
20
  <template v-if="!loadError">
21
21
  <!-- 带有子的详情 -->
22
22
  <template
23
- v-if="realDataItem.title && groups[realDataItem.title]?.type ==='array'"
23
+ v-if="realDataItem.title && groups[realDataIndex]?.type ==='array'"
24
24
  >
25
25
  <div class="ant-descriptions-title">{{ realDataItem.title }}</div>
26
26
  <div class="descriptions-array-item">
@@ -15,8 +15,8 @@
15
15
  :key="item.label || idx"
16
16
  v-show="item.label !== '附件上传' && item.label !== '__expressionRs'"
17
17
  >
18
- <span slot="label" style="color: #000">{{ item.label }}</span>
19
- <div style="white-space: pre-wrap">{{ item.value }}</div>
18
+ <span slot="label" style="color: #000">{{ legacyMode ? item: item.label }}</span>
19
+ <div style="white-space: pre-wrap">{{ legacyMode ? item: item.value }}</div>
20
20
  </a-descriptions-item>
21
21
  </a-descriptions>
22
22
  <a-descriptions
@@ -74,6 +74,10 @@ export default {
74
74
  formCompletedDataPreview: {
75
75
  type: Object,
76
76
  required: true
77
+ },
78
+ legacyMode: {
79
+ type: Boolean,
80
+ default: false
77
81
  }
78
82
  },
79
83
  computed: {