We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1123ec9 commit 1e209a7Copy full SHA for 1e209a7
src/components/Table/src/components/TableActions.vue
@@ -7,11 +7,6 @@ import { useAppStore } from '@/store/modules/app'
7
import { TableColumn } from '../types'
8
import ColumnSetting from './ColumnSetting.vue'
9
10
-const appStore = useAppStore()
11
-const sizeMap = computed(() => appStore.sizeMap)
12
-
13
-const { t } = useI18n()
14
15
export default defineComponent({
16
name: 'TableActions',
17
components: {
@@ -25,6 +20,9 @@ export default defineComponent({
25
20
},
26
21
emits: ['refresh', 'changSize', 'confirm'],
27
22
setup(props, { emit }) {
23
+ const appStore = useAppStore()
24
+ const { t } = useI18n()
+ const sizeMap = computed(() => appStore.sizeMap)
28
const showSetting = ref(false)
29
30
const refresh = () => {
0 commit comments