Skip to content

Commit ad8113f

Browse files
removed unnecessary life cycle methods
1 parent 356123d commit ad8113f

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/QuestionsView.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ export default {
9393
this.selectedQuestion = { id: null };
9494
});
9595
},
96-
computed: {},
97-
watch: {},
9896
methods: {
9997
editQuestion(question, index) {
10098
this.selectedQuestion = JSON.parse(JSON.stringify(question));

src/SurveyBuilder.vue

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -141,21 +141,10 @@ export default {
141141
};
142142
},
143143
props: ['options'],
144-
computed: {},
145-
watch: {},
146-
beforeCreate() {},
147-
created() {},
148-
beforeMount() {},
149144
mounted() {
150145
this.question.type = this.question.type ? this.question.type : 'DEFAULT';
151146
this.selectedType = this.question.type;
152-
153-
window.console.log(this.question, this.selectedType);
154147
},
155-
beforeUpdate() {},
156-
updated() {},
157-
beforeDestroy() {},
158-
destroyed() {},
159148
methods: {
160149
/**
161150
* @desc {String} type

0 commit comments

Comments
 (0)