浏览代码

: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

正在加载...
取消
保存