<template> <div @click="onClick">测试</div> </template> <script> export default { name:'', data(){ return { } }, methods: { onClick() { this.$router.push({ name: 'packageList', query: { imei: '45555' } }) } } } </script> <style scoped> </style>