gcs-ui-lib 1.2.10 → 1.2.11

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": "gcs-ui-lib",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "private": false,
5
5
  "main": "./lib/gcs-ui-lib.common.js",
6
6
  "scripts": {
@@ -155,13 +155,21 @@
155
155
  :width="200"
156
156
  >
157
157
  <template slot-scope="scope">
158
- <div v-if="item.fieldProperty == 'multiSelect'">
158
+ <div
159
+ v-if="item.fieldProperty == 'multiSelect'"
160
+ class="coustm-show-overflow"
161
+ >
159
162
  {{ viewsMulti(scope.row[item.fieldCode]) }}
160
163
  </div>
161
- <div v-else-if="item.fieldProperty == 'bigDecimal'">
164
+ <div
165
+ v-else-if="item.fieldProperty == 'bigDecimal'"
166
+ class="coustm-show-overflow"
167
+ >
162
168
  {{ amountFormat(scope.row[item.fieldCode]) }}
163
169
  </div>
164
- <div v-else>{{ scope.row[item.fieldCode] || "--" }}</div>
170
+ <div v-else class="coustm-show-overflow">
171
+ {{ scope.row[item.fieldCode] || "--" }}
172
+ </div>
165
173
  </template>
166
174
  </vxe-column>
167
175
  </template>
@@ -283,3 +283,10 @@
283
283
  padding-right: 30px !important;
284
284
  }
285
285
  }
286
+
287
+ .coustm-show-overflow{
288
+ width: calc(100% + 1px);
289
+ text-overflow: ellipsis;
290
+ white-space: nowrap;
291
+ overflow: hidden;
292
+ }