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

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

@@ -222,6 +222,7 @@
</template>
<script>
import {mapActions} from "vuex"
import AiLibTable from "./AiLibTable";
export default {
@@ -284,6 +285,7 @@ export default {
}
},
methods: {
...mapActions(['closePage']),
getDetail() {
let {id} = this.$route.query
id && this.instance.post("/node/custom/detail", null, {
@@ -296,6 +298,7 @@ export default {
})
},
back() {
this.closePage()
this.$router.push({})
},
submit() {