Browse Source

代码上传

zhangqi 1 year ago
parent
commit
bbcb1861d5
1 changed files with 1 additions and 9 deletions
  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)
   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>
 .sw-tabs .ant-tabs-tab-active{
   background: #0e2851 !important;