fix(notice): fix goDetail error (#47)

Co-authored-by: K1nZ <k1nz.qiu@foxmail.com>
This commit is contained in:
k1nz 2022-01-24 12:58:37 +08:00 committed by GitHub
parent c2eb01d310
commit 8bea964e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ import { NotificationItem } from '@/interface';
export default defineComponent({
setup() {
const router = useRouter();
const store = useStore();
const { msgData } = store.state.notification;
@ -75,7 +76,6 @@ export default defineComponent({
};
const goDetail = () => {
const router = useRouter();
router.push('/detail/secondary');
};