fujunling
2023-06-05 ee07d050ac5e52ded8f0de0872085ef9b00790ee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<template>
  <basic-container>
    <h3>标签</h3>
    <el-button type="primary"
               size="small"
               @click="$router.push('/test/index')">打开一个页面
    </el-button>
    <el-button type="primary"
               size="small"
               @click="$router.$avueRouter.closeTag('/test/index')">关闭打开的页面
    </el-button>
    <el-button type="primary"
               size="small"
               @click="$router.$avueRouter.closeTag()">关闭本标签
    </el-button>
 
  </basic-container>
</template>
 
<script>
  export default {
    methods: {}
  };
</script>
 
<style>
</style>