xianniu-ui 0.8.22 → 0.8.23

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": "xianniu-ui",
3
- "version": "0.8.22",
3
+ "version": "0.8.23",
4
4
  "private": false,
5
5
  "main": "lib/xianniu-ui.umd.min.js",
6
6
  "scripts": {
@@ -3,7 +3,7 @@
3
3
  <div class="xn-table-box-tools" :class="{ 'is-border': !border }">
4
4
  <div class="flex justify-content-between align-items-center">
5
5
  <div class="fz-12" :class="{ 'pb-10': isSelection }">
6
- <template v-if="isSelection">
6
+ <template v-if="isSelection && selectedData.length>0">
7
7
  <span>已选择 {{ selectedData.length }} 项</span>
8
8
  <el-button
9
9
  type="text"
@@ -237,7 +237,6 @@ export default {
237
237
  this.selectedData = val;
238
238
  this.$emit("selection-change", val);
239
239
  this.$emit("on-selection", val);
240
- // this.$refs.table.get
241
240
  },
242
241
  toggleRowSelection(row, status) {
243
242
  this.$refs.table.toggleRowSelection(row, status);