t20-common-lib 0.9.11 → 0.9.13

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": "t20-common-lib",
3
- "version": "0.9.11",
3
+ "version": "0.9.13",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -17,7 +17,7 @@
17
17
  "lib": "vue-cli-service build --target lib --name t20-common-lib --dest dist src/index.js",
18
18
  "docs:dev": "vuepress dev docs",
19
19
  "docs:build": "vuepress build docs",
20
- "prepublishOnly": "npm run lib",
20
+ "prepublishOnly": "npm run lib && node ./scripts/record-version.js",
21
21
  "clean": "rimraf dist"
22
22
  },
23
23
  "keywords": [
@@ -36,9 +36,9 @@
36
36
  -->
37
37
  <div class="content-item-val" @click="$emit('click', conItem)">
38
38
  <template v-if="hasAmountAndCount(conItem)">
39
- {{ formatAmount(conItem, 'value') }}<span class="content-item-unit">{{ formatAmount(conItem, 'unit') }}</span>
40
- <span class="divider-inline"></span>
41
39
  <span class="count-val">{{ conItem.count }}<span class="content-item-unit">{{ conItem.countUnit || conItem.unit || '笔' }}</span></span>
40
+ <span class="divider-inline"></span>
41
+ {{ formatAmount(conItem, 'value') }}<span class="content-item-unit">{{ formatAmount(conItem, 'unit') }}</span>
42
42
  </template>
43
43
  <template v-else-if="conItem.amountFormat">
44
44
  {{ formatAmount(conItem, 'value') }}<span class="content-item-unit">{{ formatAmount(conItem, 'unit') }}</span>