类型:开发

描述:
This commit is contained in:
2025-12-11 10:20:01 +08:00
parent 20049de695
commit 1b4226d325
6 changed files with 42 additions and 26 deletions

View File

@@ -32,6 +32,10 @@
import pubSub from 'pubsub-js'
let props = defineProps({
type: {
type: String,
default: 'curr'
},
events: {
type: String,
default: ''
@@ -127,7 +131,7 @@
}
let cond = ref(false)
const getVideoList = async () => {
let res = await getTrafficEventsApi();
let res = await getTrafficEventsApi(props.type);
list.value = res.data
setTimeout(()=>{cond.value = true},1500)
}