提交
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>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ NProgress.configure({
|
||||
easing: "ease", // 动画方式
|
||||
speed: 2500, // 递增进度条的速度
|
||||
showSpinner: false, // 是否显示加载ico
|
||||
trickleSpeed: 200, // 自动递增间隔
|
||||
trickleSpeed: 800, // 自动递增间隔
|
||||
minimum: 0.9, // 初始化时的最小百分比
|
||||
});
|
||||
|
||||
@@ -145,6 +145,7 @@ router.beforeEach((to, from, next) => {
|
||||
|
||||
router.afterEach(() => {
|
||||
NProgress.done();
|
||||
console.log("NProgress",NProgress);
|
||||
console.log("结束");
|
||||
})
|
||||
export default router
|
||||
|
||||
Reference in New Issue
Block a user