mirror of
https://github.com/bitinflow/ui.git
synced 2026-03-13 13:45:59 +00:00
Fix closing
This commit is contained in:
@@ -103,7 +103,7 @@
|
|||||||
<bitinflow-table-floating-action
|
<bitinflow-table-floating-action
|
||||||
:icon="option.icon"
|
:icon="option.icon"
|
||||||
:destructive="option.destructive"
|
:destructive="option.destructive"
|
||||||
@click="option.action(selectedItems)"
|
@click="clickOption(option)"
|
||||||
>
|
>
|
||||||
{{ option.label }}
|
{{ option.label }}
|
||||||
</bitinflow-table-floating-action>
|
</bitinflow-table-floating-action>
|
||||||
@@ -189,6 +189,10 @@ export default {
|
|||||||
},
|
},
|
||||||
click(item) {
|
click(item) {
|
||||||
this.$emit('click', item);
|
this.$emit('click', item);
|
||||||
|
},
|
||||||
|
clickOption(option) {
|
||||||
|
option.action(this.selectedItems)
|
||||||
|
this.selectAll(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user