添加链接

This commit is contained in:
chenlin
2025-12-29 17:37:38 +08:00
parent 07331d0e15
commit 260cacb8dd
10 changed files with 281 additions and 218 deletions

View File

@@ -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')
}
// 自动滚动功能