BUG 25348

This commit is contained in:
aixianling
2021-12-15 18:43:15 +08:00
parent b84c5b3dd7
commit 9d81882da9
2 changed files with 6 additions and 8 deletions

View File

@@ -65,7 +65,7 @@
<script>
import {mapState} from "vuex";
import {mapMutations, mapState} from "vuex";
export default {
name: "formDetail",
@@ -110,9 +110,7 @@ export default {
}
},
methods: {
emitShow() {
document.title = this.form.title || "调查问卷"
},
...mapMutations(['logout']),
getForm() {
let {id} = this.$route.query
this.$http.post("/app/appquestionnairetemplate/queryDetailById", null, {
@@ -160,6 +158,7 @@ export default {
this.result = {
tips: "提交成功!感谢参与",
}
this.logout()
}
}).catch(err => {
this.$u.toast(err || "提交失败")