zhangqi hai 1 ano
pai
achega
bbcb1861d5
Modificáronse 1 ficheiros con 1 adicións e 9 borrados
  1. 1 9
      src/components/layout/modules/historyTabs.vue

+ 1 - 9
src/components/layout/modules/historyTabs.vue

@@ -35,15 +35,7 @@ const onChange = (val)=>{
   let path = historyRoutes.value.filter(element => element.name == val)
   let path = historyRoutes.value.filter(element => element.name == val)
   router.push({name:path[0].name,query:path[0].query,meta:{keepAlive:false}})
   router.push({name:path[0].name,query:path[0].query,meta:{keepAlive:false}})
 }
 }
-// router.beforeEach((to,from,next)=>{
-//   console.log(to,from)
-//   let rs = historyRoutes.value.some(item=>item.name == from.name)
-//   // rotTabs.saveRoute(to)
-//   // store.appData(to.meta.name)
-//   // activeKey.value = to.name
-//   next()
-// })
-</script>
+</script> 
 <style>
 <style>
 .sw-tabs .ant-tabs-tab-active{
 .sw-tabs .ant-tabs-tab-active{
   background: #0e2851 !important;
   background: #0e2851 !important;