添加链接
This commit is contained in:
@@ -58,6 +58,7 @@ interface Props {
|
||||
scrollSpeed?: number
|
||||
scrollInterval?: number,
|
||||
tableTitle?: TableTitle[]
|
||||
linkUrl?: string
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
@@ -73,7 +74,7 @@ let scrollTimer: NodeJS.Timeout | null = null
|
||||
let isScrolling = false
|
||||
|
||||
const handleItemClick = (item: AlertItem) => {
|
||||
window.open(`http://10.0.64.20/pms/workorder-list`, '_blank')
|
||||
window.open(props.linkUrl, '_blank')
|
||||
}
|
||||
|
||||
// 自动滚动功能
|
||||
|
||||
Reference in New Issue
Block a user