We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2eb01d commit 8bea964Copy full SHA for 8bea964
1 file changed
src/layouts/components/Notice.vue
@@ -53,6 +53,7 @@ import { NotificationItem } from '@/interface';
53
54
export default defineComponent({
55
setup() {
56
+ const router = useRouter();
57
const store = useStore();
58
const { msgData } = store.state.notification;
59
@@ -75,7 +76,6 @@ export default defineComponent({
75
76
};
77
78
const goDetail = () => {
- const router = useRouter();
79
router.push('/detail/secondary');
80
81
0 commit comments