|
@@ -14,9 +14,8 @@
|
|
|
<script>
|
|
|
import Join1Form from '@/views/admin/tmpl/components/Join1Form'
|
|
|
import { apiFindTmpl } from '@/api/tmpl/tmpl'
|
|
|
-let name = 'ExamTmplAdd'
|
|
|
export default {
|
|
|
- name: name,
|
|
|
+ name: 'ExamTmplAdd',
|
|
|
components: {
|
|
|
Join1Form
|
|
|
},
|
|
@@ -41,9 +40,7 @@ export default {
|
|
|
|
|
|
// 查找详情
|
|
|
const id = this.$route.params.id
|
|
|
- name = 'ExamTmplAdd'
|
|
|
if (id !== undefined) {
|
|
|
- name = 'ExamTmplUpdate'
|
|
|
this.fetchData(id)
|
|
|
}
|
|
|
},
|