significative 5 months ago
parent da1b5e68c2
commit 401be402ad
  1. 4
      jeecgboot-vue3-master/src/views/demo/main-home/components/matchEvaluation/components/MCh.vue
  2. 4
      jeecgboot-vue3-master/src/views/demo/main-home/index.vue

@ -86,9 +86,9 @@ function pagChange(page: number, pageSizeP: number) {
getData(route.query.id as string)
}
watch(() => route.params.columnId, (newVal: string) => {
watch(() => route.params.columnId, () => {
if (route.query.id == '1') return
getData(newVal)
getData(route.params.columnId as string)
}, {
immediate: true
})

@ -126,12 +126,14 @@ demoNavListApi().then(res => {
})
});
})
// @ts-ignore
const acI = ref(+sessionStorage.getItem('MAIN_HOME_ACI'))
const acI = ref(0)
function hanRou(item: item, i: number) {
if (acI.value === i) return
router.push(item.path+'?id='+item.id)
acI.value = i
sessionStorage.setItem('MAIN_HOME_ACI',JSON.stringify(acI.value))
}
</script>

Loading…
Cancel
Save