Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Commit de1e1e4

Browse files
committed
Cleanup
1 parent cb1b2fc commit de1e1e4

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

js/Table.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ import TableFilter from "./TableFilter.vue";
159159
import TableGlobalSearch from "./TableGlobalSearch.vue";
160160
import TableSearchRows from "./TableSearchRows.vue";
161161
import TableWrapper from "./TableWrapper.vue";
162-
import { computed, ref, watch, useSlots, onMounted } from "vue"
162+
import { computed, ref, watch } from "vue"
163163
import qs from "qs";
164164
import clone from "lodash-es/clone";
165165
import filter from "lodash-es/filter";
@@ -169,8 +169,6 @@ import isEqual from "lodash-es/isEqual";
169169
import map from "lodash-es/map";
170170
import pickBy from "lodash-es/pickBy";
171171
172-
const slots = useSlots()
173-
174172
const props = defineProps({
175173
name: {
176174
type: String,

js/TableFilter.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
@change="onFilterChange(filter.key, $event.target.value)"
5252
>
5353
<option
54-
v-for="(option, key) in filter.options"
55-
:key="key"
56-
:value="key"
54+
v-for="(option, optionKey) in filter.options"
55+
:key="optionKey"
56+
:value="optionKey"
5757
>
5858
{{ option }}
5959
</option>

0 commit comments

Comments
 (0)