소스 검색

:construction: Set up for redirect after finish of survey

tabs-content
tomit4 3 년 전
부모
커밋
a6ae1f469a
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    1
      frontend/src/components/onboarding/FormInput.vue
  2. 1
    1
      frontend/src/views/OnboardingView.vue

+ 2
- 1
frontend/src/components/onboarding/FormInput.vue 파일 보기

@@ -54,7 +54,8 @@ export default {
54 54
 </script>
55 55
 
56 56
 <style>
57
-h3 {
57
+h3,
58
+input[placeholder] {
58 59
     text-align: center;
59 60
 }
60 61
 input {

+ 1
- 1
frontend/src/views/OnboardingView.vue 파일 보기

@@ -53,7 +53,7 @@ export default {
53 53
     methods: {
54 54
         onSubmit() {
55 55
             console.log(JSON.stringify(this.answered))
56
-            this.survey = null
56
+            this.$router.push({ name: 'SurveyView' })
57 57
         },
58 58
         goToStep(num) {
59 59
             this.currentStep = num

Loading…
취소
저장