diff --git a/source/vue/xzs-admin/src/views/education/subject/edit.vue b/source/vue/xzs-admin/src/views/education/subject/edit.vue index 38d3bfa..b098145 100644 --- a/source/vue/xzs-admin/src/views/education/subject/edit.vue +++ b/source/vue/xzs-admin/src/views/education/subject/edit.vue @@ -66,6 +66,12 @@ export default { }, resetForm () { this.$refs['form'].resetFields() + this.form = { + id: null, + name: '', + level: 1, + levelName: '' + } }, ...mapActions('tagsView', { delCurrentView: 'delCurrentView' }) }, diff --git a/source/xzs/src/main/resources/static/admin/index.html b/source/xzs/src/main/resources/static/admin/index.html index c027d0a..30a6085 100644 --- a/source/xzs/src/main/resources/static/admin/index.html +++ b/source/xzs/src/main/resources/static/admin/index.html @@ -13,4 +13,4 @@ hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9' var s = document.getElementsByTagName('script')[0] s.parentNode.insertBefore(hm, s) - })()