bl-common-vue3 3.8.79 → 3.8.81

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": "bl-common-vue3",
3
- "version": "3.8.79",
3
+ "version": "3.8.81",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "description": "bailing vue3 common components lib",
@@ -793,10 +793,12 @@
793
793
  v-if="ApprovalProcessSettings && approvalList.length > 0"
794
794
  key="Approval_process"
795
795
  @click.stop="handleApprovalProcess">
796
- <span style="display: inline-block; padding-left: 15px">
797
- <bl-icon type="shenpiliucheng" />
796
+ <a-button type="text">
797
+ <template #icon>
798
+ <bl-icon type="shenpiliucheng" />
799
+ </template>
798
800
  {{ t("CustomTable.index.909124-0") }}
799
- </span>
801
+ </a-button>
800
802
  </a-menu-item>
801
803
 
802
804
  <a-menu-item
@@ -882,18 +884,20 @@
882
884
  <template #bodyCell="{ text, record, index, column }">
883
885
  <template v-if="column && column?.key">
884
886
  <template v-if="column?.columnType === 'security'">
885
- <span>
886
- {{ getSecurityDisplayValue(record, column) }}
887
- </span>
888
- <a-button
889
- type="link"
890
- size="small"
891
- style="padding: 0 4px"
892
- v-if="shouldShowSecurityRowBtn(record, column)"
893
- @click.stop="toggleSecurityValue(record, column)">
894
- <EyeInvisibleOutlined v-if="isSecurityRowOn(record, column)" />
895
- <EyeOutlined v-else />
896
- </a-button>
887
+ <div style="display: flex; align-items: center; gap: 4px">
888
+ <span>
889
+ {{ getSecurityDisplayValue(record, column) }}
890
+ </span>
891
+ <a-button
892
+ type="link"
893
+ size="small"
894
+ style="padding: 0 4px"
895
+ v-if="shouldShowSecurityRowBtn(record, column)"
896
+ @click.stop="toggleSecurityValue(record, column)">
897
+ <EyeInvisibleOutlined v-if="isSecurityRowOn(record, column)" />
898
+ <EyeOutlined v-else />
899
+ </a-button>
900
+ </div>
897
901
  </template>
898
902
 
899
903
  <template v-else-if="column?.type">