|
@@ -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;
|