diff --git a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/WarningList.vue b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/WarningList.vue index 77d8ef2..5c3d55b 100644 --- a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/WarningList.vue +++ b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/WarningList.vue @@ -40,6 +40,7 @@ import 重要 from './images/警告级别-重要.png' import 次要 from './images/警告级别-次要.png' import 常规 from './images/警告级别-常规.png' import dayjs from 'utils/day' +import { useRouter } from '@cmp/cmp-core' export default { components: { ItemCard }, data() { @@ -101,7 +102,8 @@ export default { }) }, goPage() { - this.$router.push({ + const router = useRouter() + router.push({ name: 'OmsDashbaord', query: { redirect: '/alarm/current'