页签历史驻留,返回关闭功能完成

This commit is contained in:
aixianling
2023-01-30 14:41:19 +08:00
parent 1abd4c49b0
commit 18af0281b1
5 changed files with 153 additions and 62 deletions

View File

@@ -31,6 +31,8 @@
</template>
<script>
import {mapActions} from "vuex"
export default {
name: 'AiTitle',
model: {
@@ -84,7 +86,9 @@ export default {
},
methods: {
...mapActions(['closePage']),
onBackBtnClick() {
this.closePage()
this.$emit('onBackClick')
this.$emit('back')
}
@@ -129,7 +133,7 @@ export default {
align-items: center;
}
:deep(.el-button ){
:deep(.el-button ) {
margin-left: 8px !important;
}
}