提交
This commit is contained in:
@@ -33,14 +33,16 @@
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
|
||||
import { redirectToExternalWebsite } from '@/utils/util.js'
|
||||
const router = useRouter()
|
||||
|
||||
const props = defineProps({
|
||||
item: Object,
|
||||
});
|
||||
|
||||
const goapArtmentDetails = () => router.push(`/apartmentDetail?uniqid=${props['item'].uniqid}`)
|
||||
const goapArtmentDetails = () => redirectToExternalWebsite(`${location.origin}/apartmentDetail?uniqid=${props['item'].uniqid}`)
|
||||
|
||||
// router.push(`/apartmentDetail?uniqid=${props['item'].uniqid}`)
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user