n20-common-lib 2.7.38 → 2.7.40

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": "n20-common-lib",
3
- "version": "2.7.38",
3
+ "version": "2.7.40",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -23,7 +23,7 @@
23
23
 
24
24
  .n20-statis:not(:first-child) {
25
25
  .stati-type {
26
- padding-left: 4px;
26
+ padding-left: 12px;
27
27
  }
28
28
  .n20-statis-group & {
29
29
  .stati-type {
@@ -10,8 +10,8 @@
10
10
  </div>
11
11
  <div v-else class="n20-statis">
12
12
  <span class="stati-type stati-item-cell">{{ type }}</span>
13
- <span class="p-r-ss stati-type stati-item-cell n20-primary">{{ total }}</span>
14
- <span v-if="title" class="text-r stati-item-cell">{{ title }}</span>
13
+ <span v-if="total !== null" class="stati-type stati-item-cell n20-primary">:{{ total }}</span>
14
+ <span v-if="title" class="text-r stati-item-cell p-l-ss">{{ title }}</span>
15
15
  <span class="n20-statis-division p-r-ss stati-item-cell"></span>
16
16
  <span v-for="(item, i) in list" :key="i" class="p-r-ss stati-item-cell"
17
17
  >{{ item.label }}:<span v-if="countLabel.includes(item.label)" class="n20-primary">{{ item.value }}</span>
@@ -72,8 +72,8 @@ export default {
72
72
  default: false
73
73
  },
74
74
  total: {
75
- type: Number,
76
- default: 0
75
+ type: [Number, Object],
76
+ default: null
77
77
  }
78
78
  }
79
79
  }
@@ -67,8 +67,8 @@ export default {
67
67
  default: undefined
68
68
  },
69
69
  total: {
70
- type: Number,
71
- default: 0
70
+ type: [Number, Object],
71
+ default: null
72
72
  }
73
73
  },
74
74
  data() {