Skip to content

Commit b863541

Browse files
author
mdatelle
committed
fix: fix typescript error
1 parent 184172d commit b863541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/components/LayoutViews/Detail/DetailRightContent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ const getCurrentTabProps = () => {
6363
};
6464
};
6565
66-
const updateSelectedTab = (value: string) => {
67-
emit('update:selectedTab', value);
66+
const updateSelectedTab = (value: string | number) => {
67+
emit('update:selectedTab', String(value));
6868
};
6969
</script>
7070

0 commit comments

Comments
 (0)