类型:开发
描述:
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user