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