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/lib/xianniu-ui.common.js +36 -30
- package/lib/xianniu-ui.umd.js +36 -30
- package/lib/xianniu-ui.umd.min.js +2 -2
- package/package.json +1 -1
- package/packages/table/main.vue +6 -0
package/package.json
CHANGED
package/packages/table/main.vue
CHANGED
|
@@ -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>
|