xianniu-ui 0.3.4 → 0.3.5

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.3.4",
3
+ "version": "0.3.5",
4
4
  "private": false,
5
5
  "main": "lib/xianniu-ui.umd.min.js",
6
6
  "scripts": {
@@ -66,7 +66,7 @@
66
66
  :size="itemBtn.size || 'mini'"
67
67
  :icon="itemBtn.icon"
68
68
  :plain="itemBtn.plain"
69
- @click="handleClick(itemBtn.method, row, $index)"
69
+ @click.native.stop="handleClick(itemBtn.method, row, $index)"
70
70
  >{{ label(itemBtn, row) }}</el-button
71
71
  >
72
72
  </template>
@@ -214,6 +214,10 @@ export default {
214
214
  this.$refs.table.toggleRowSelection(row, status);
215
215
  },
216
216
  clearSelection() {
217
+ if(this.radio){
218
+ this.radioSelected = ''
219
+ return
220
+ }
217
221
  this.$refs.table.clearSelection();
218
222
  },
219
223
  doLayout() {