We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cc0cfa commit 2f82260Copy full SHA for 2f82260
src/views/example/components/ArticleDetail.vue
@@ -170,8 +170,6 @@ export default {
170
if (this.isEdit) {
171
const id = this.$route.params && this.$route.params.id
172
this.fetchData(id)
173
- } else {
174
- this.postForm = Object.assign({}, defaultForm)
175
}
176
177
// Why need to make a copy of this.$route here?
src/views/example/create.vue
@@ -6,7 +6,7 @@
6
import ArticleDetail from './components/ArticleDetail'
7
8
export default {
9
- name: 'CreateForm',
+ name: 'CreateArticle',
10
components: { ArticleDetail }
11
12
</script>
0 commit comments