距离院校新样式
This commit is contained in:
@@ -131,6 +131,9 @@ let props = defineProps({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
school: {
|
||||
type: String,
|
||||
},
|
||||
})
|
||||
let data = reactive({ data: {} })
|
||||
//显示样式
|
||||
@@ -170,8 +173,9 @@ let watchInfo = () => {
|
||||
store.state.seachSelect["seachPage"][key] = seachData[key]
|
||||
}
|
||||
}
|
||||
// console.log(document.location.origin)
|
||||
window.open(`${document.location.origin}/detail?id=${data.data.uniqid}`)
|
||||
let url = `${document.location.origin}/detail?id=${data.data.uniqid}`
|
||||
if (props.school) url += `&school=${props.school}`
|
||||
window.open(url)
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user