af-mobile-client-vue3 1.2.8 → 1.2.10

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,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.2.8",
4
+ "version": "1.2.10",
5
5
  "packageManager": "pnpm@10.12.3",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -186,7 +186,7 @@ function initComponent() {
186
186
  })
187
187
  }
188
188
  }
189
- console.log('item===', item)
189
+
190
190
  if (item.btnIcon)
191
191
  btnList.value.push(item)
192
192
 
@@ -604,7 +604,7 @@ defineExpose({
604
604
  <VanRow gutter="20" class="card_item_details" @click="emit('toDetail', item)">
605
605
  <VanCol v-for="column of detailColumns" :key="`details_${column.dataIndex}`" :span="column.span">
606
606
  <p>
607
- {{ `${column.showLabel ? `${column.title}: ` : ''}` }}
607
+ {{ (column.showLabel === undefined || column.showLabel) ? `${column.title}: ` : '' }}
608
608
  <XBadge
609
609
  :style="handleFunctionStyle(column.styleFunctionForValue, item)"
610
610
  :dict-name="column.dictName" :dict-value="item[column.dataIndex]"
@@ -629,7 +629,7 @@ defineExpose({
629
629
  >
630
630
  <div class="tag-content">
631
631
  <VanIcon v-if="column.tagIcon" :name="column.tagIcon" class="tag-icon" />
632
- <span class="tag-title">{{ `${column.showLabel ? `${column.title}: ` : ''}` }}</span>
632
+ <span v-if="column.showLabel === undefined || column.showLabel" class="tag-title">{{ `${column.title}: ` }}</span>
633
633
  <XBadge
634
634
  :dict-name="column.dictName"
635
635
  :dict-value="item[column.dataIndex]"
@@ -651,7 +651,7 @@ defineExpose({
651
651
  <VanCol v-for="column of footColumns" :key="`foot_${column.dataIndex}`" :span="12">
652
652
  <p>
653
653
  <span :style="handleFunctionStyle(column.styleFunctionForTitle, item)">
654
- {{ `${column.showLabel ? `${column.title}: ` : ''}` }}
654
+ {{ (column.showLabel === undefined || column.showLabel) ? `${column.title}: ` : '' }}
655
655
  </span>
656
656
  <XBadge
657
657
  :style="handleFunctionStyle(column.styleFunctionForValue, item)"