页签历史驻留,返回关闭功能完成
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user