@ -40,7 +40,10 @@ const props = defineProps({
},
})
const toClassifyPage = id => {
window.location.href = `/#/case-show?t=${id}`
console.log(window.location)
const origin = window.location.origin
const pathname = window.location.pathname
window.location.href = `${origin}${pathname}#/case-show?t=${id}`
window.location.reload()
}
const getImg = id => {
@ -11,7 +11,7 @@
<Track />
<OneStop />
<AboutUs />
<News />
<!-- <News /> -->
<Cooperation />
<Awards />
<Bottom :isDrag="isDrag" />
@ -18,6 +18,7 @@ export default defineConfig({
host: '0.0.0.0',
plugins: [vue()],
base: '/mobile/',
//配置sass
css: {
preprocessorOptions: {