<script setup>
/***
 * name：路由跳转 示例
 * user：sa0ChunLuyu
 * date：2022-04-13 09:20:12
 */
import $router from '~/router'
</script>
<template>
  <tr>
    <td>路由跳转</td>
    <td></td>
    <td>
      <n-button secondary strong @click="$router.push({name: 'index'})">
        首页
      </n-button>
    </td>
  </tr>
</template>
