mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 10:58:25 +08:00
fix(notice): fix goDetail error (#47)
Co-authored-by: K1nZ <k1nz.qiu@foxmail.com>
This commit is contained in:
parent
c2eb01d310
commit
8bea964e9f
|
@ -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');
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user