fix: apply ESLint rule vue/require-macro-variable-name

This commit is contained in:
iamsivin
2024-07-26 12:47:47 +05:30
parent 51ab7d4f9e
commit 0b2477c47e
11 changed files with 42 additions and 32 deletions
@@ -15,7 +15,7 @@ const props = defineProps({
},
});
const emits = defineEmits(['close']);
const emit = defineEmits(['close']);
const { t } = useI18n();
@@ -40,7 +40,7 @@ const tabs = ref([
},
]);
const onClose = () => {
emits('close');
emit('close');
};
const onClickTabChange = index => {
@@ -18,7 +18,7 @@ const props = defineProps({
},
});
const emits = defineEmits(['close']);
const emit = defineEmits(['close']);
const { t } = useI18n();
const issues = ref([]);
@@ -49,7 +49,7 @@ const onSelectIssue = item => {
};
const onClose = () => {
emits('close');
emit('close');
};
const onSearch = async value => {