sc
This commit is contained in:
@@ -80,6 +80,8 @@ import * as NotifyMessageApi from '@/api/system/notify/message'
|
||||
import { useUserStore } from '@/store/modules/user'
|
||||
import { getGeneralSysDictData } from '@/api/system/dict/dict.data'
|
||||
|
||||
const router = useRouter()
|
||||
|
||||
const userStore = useUserStore()
|
||||
const message = useMessage() // 消息
|
||||
|
||||
@@ -121,6 +123,12 @@ function handleDetail(row: any) {
|
||||
if (!row.readStatus) {
|
||||
handleReadOne(row.id)
|
||||
}
|
||||
|
||||
const url = router.resolve({
|
||||
path: '/nm-detail',
|
||||
query: { id: row.id }
|
||||
})
|
||||
window.open(url.href, '_blank')
|
||||
}
|
||||
|
||||
const tableRef = ref() // 表格的 Ref
|
||||
|
||||
Reference in New Issue
Block a user