diff --git a/src/views/project/terminalTrain/TerminalTrainDetail.vue b/src/views/project/terminalTrain/TerminalTrainDetail.vue index 4f8c587..b0c9562 100644 --- a/src/views/project/terminalTrain/TerminalTrainDetail.vue +++ b/src/views/project/terminalTrain/TerminalTrainDetail.vue @@ -31,13 +31,13 @@ export default { }, data() { return { - queryParam: { id: this.$route.query.terminalTrainId }, + queryParam: this.$route.query.terminalTrainId, detailData: {}, } }, created: function () { let parameter = {} - terminalTrainGet(Object.assign(parameter, this.queryParam)).then((res) => { + terminalTrainGet(this.queryParam).then((res) => { this.detailData = res.data }) }, diff --git a/src/views/project/terminalTrain/TerminalTrainForm.vue b/src/views/project/terminalTrain/TerminalTrainForm.vue index 3229310..bd1ec72 100644 --- a/src/views/project/terminalTrain/TerminalTrainForm.vue +++ b/src/views/project/terminalTrain/TerminalTrainForm.vue @@ -1,6 +1,6 @@