vue2-client 1.15.100 → 1.15.102

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.100",
3
+ "version": "1.15.102",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -308,7 +308,7 @@ export default {
308
308
  * @param route 页面对应的路由
309
309
  */
310
310
  setCachedKey (route) {
311
- const page = this.pageList.find(item => item.path === route.path)
311
+ const page = this.pageList.find(item => item.keyPath === route.path)
312
312
  page.unclose = route.meta && route.meta.page && (route.meta.page.closable === false)
313
313
  if (!page._init_) {
314
314
  const vnode = this.$refs.tabContent.$vnode
@@ -10,14 +10,26 @@
10
10
  <p slot="title" class="descriptionTitle">
11
11
  填写历史
12
12
  </p>
13
- <a-descriptions-item
14
- v-for="(item, idx) in formCompletedDataPreview.data"
15
- :key="item.label || idx"
16
- v-show="item.label !== '附件上传' && item.label !== '__expressionRs'"
17
- >
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
- </a-descriptions-item>
13
+ <template v-if="legacyMode">
14
+ <a-descriptions-item
15
+ v-for="(value, key) in formCompletedDataPreview.data"
16
+ :key="key"
17
+ v-show="key !== '附件上传' && key !== '__expressionRs'"
18
+ >
19
+ <span slot="label" style="color: #000">{{ key }}</span>
20
+ <div style="white-space: pre-wrap">{{ value }}</div>
21
+ </a-descriptions-item>
22
+ </template>
23
+ <template v-else>
24
+ <a-descriptions-item
25
+ v-for="(item, idx) in formCompletedDataPreview.data"
26
+ :key="item.label || idx"
27
+ v-show="item.label !== '附件上传' && item.label !== '__expressionRs'"
28
+ >
29
+ <span slot="label" style="color: #000">{{ item.label }}</span>
30
+ <div style="white-space: pre-wrap">{{ item.value }}</div>
31
+ </a-descriptions-item>
32
+ </template>
21
33
  </a-descriptions>
22
34
  <a-descriptions
23
35
  v-show="formCompletedDataPreview.note"