bri-components 1.2.37 → 1.2.38

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": "bri-components",
3
- "version": "1.2.37",
3
+ "version": "1.2.38",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -15,18 +15,13 @@
15
15
  :style="operationItem.style"
16
16
  :class="[
17
17
  index ? 'dsh-margin-left8' : undefined,
18
- !operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
18
+ !operationItem.loading && !operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
19
19
  itemClass,
20
20
  ]"
21
21
  :propsObj="operationItem"
22
22
  @click="emit(operationItem)"
23
23
  >
24
- <span
25
- v-if="operationItem.name"
26
- class="DshButtons-item-name"
27
- >
28
- {{ operationItem.name }}
29
- </span>
24
+ {{ operationItem.name }}
30
25
  </bri-button>
31
26
 
32
27
  <!-- 更多的 下拉按钮-->
@@ -60,18 +55,13 @@
60
55
  :style="operationItem.style"
61
56
  :class="[
62
57
  index ? 'dsh-margin-left8' : undefined,
63
- !operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
58
+ !operationItem.loading && !operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
64
59
  itemClass,
65
60
  ]"
66
61
  :propsObj="operationItem"
67
62
  @click="emit(operationItem)"
68
63
  >
69
- <span
70
- v-if="operationItem.name"
71
- class="DshButtons-item-name"
72
- >
73
- {{ operationItem.name }}
74
- </span>
64
+ {{ operationItem.name }}
75
65
  </bri-button>
76
66
  </div>
77
67
  </div>
@@ -83,19 +73,14 @@
83
73
  :style="operationItem.style"
84
74
  :class="[
85
75
  index ? 'dsh-margin-left8' : undefined,
86
- !operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
76
+ !operationItem.loading && !operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
87
77
  itemClass,
88
78
  ...(Array.isArray(operationItem.class) ? operationItem.class : [operationItem.class])
89
79
  ]"
90
80
  :propsObj="operationItem"
91
81
  @click="emit(operationItem)"
92
82
  >
93
- <span
94
- v-if="operationItem.name"
95
- class="DshButtons-item-name"
96
- >
97
- {{ operationItem.name }}
98
- </span>
83
+ {{ operationItem.name }}
99
84
  </bri-button>
100
85
 
101
86
  <dsh-dropdown
@@ -23,11 +23,9 @@
23
23
  }
24
24
 
25
25
  &-item {
26
- >span {
26
+ > span {
27
27
  width: 100%;
28
28
  .dsh-ellipsis();
29
29
  }
30
-
31
- &-name {}
32
30
  }
33
31
  }