This commit is contained in:
yanran200730
2023-01-11 11:31:17 +08:00

View File

@@ -115,7 +115,8 @@ export default {
methods: { methods: {
...mapMutations(['logout']), ...mapMutations(['logout']),
getForm() { getForm() {
let {tid: id} = this.$route.query let {tid, id} = this.$route.query
id = tid || id
this.$http.post(`/app/${this.actions.detail}/queryDetailById`, null, { this.$http.post(`/app/${this.actions.detail}/queryDetailById`, null, {
withoutToken: this.actions.preview, withoutToken: this.actions.preview,
params: {id} params: {id}