xianniu-ui 0.9.12 → 0.9.13

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.9.12",
3
+ "version": "0.9.13",
4
4
  "private": false,
5
5
  "main": "lib/xianniu-ui.umd.min.js",
6
6
  "scripts": {
@@ -206,6 +206,9 @@ export default {
206
206
  isRadio() {
207
207
  return this.type === "radio" || this.radio;
208
208
  },
209
+ currentTable() {
210
+ return this.$refs.table;
211
+ },
209
212
  },
210
213
  created() {},
211
214
  updated() {
@@ -294,6 +297,9 @@ export default {
294
297
  return 1;
295
298
  }
296
299
  },
300
+ toggleRowExpansion(row, expanded) {
301
+ this.$refs.table.toggleRowExpansion(row, expanded);
302
+ },
297
303
  },
298
304
  };
299
305
  </script>