// import router from '@/router' // const jumpList = {} // 跳转到页面 export default function jumpToPage(type) { // router.push(jumpList[type]) console.log('页面跳转') }