瀏覽代碼

:lipstick: some prettier formatting

tags/0.0.3^2
j 2 年之前
父節點
當前提交
5974c7f0cf
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. 2
    2
      frontend/src/components/onboarding/FormInput.vue
  2. 1
    1
      frontend/src/components/onboarding/Splash.vue

+ 2
- 2
frontend/src/components/onboarding/FormInput.vue 查看文件

8
         :placeholder='question.placeholder'
8
         :placeholder='question.placeholder'
9
         @keyup.enter='handleSubmit({ question, input })'
9
         @keyup.enter='handleSubmit({ question, input })'
10
         type='text'
10
         type='text'
11
+        v-focus
11
         v-if='question.survey_stage !== "image" && question.survey_stage !== "blurb" && question.survey_stage !== "password"'
12
         v-if='question.survey_stage !== "image" && question.survey_stage !== "blurb" && question.survey_stage !== "password"'
12
         v-model='input'
13
         v-model='input'
13
-        v-focus
14
     )
14
     )
15
     input.pass(
15
     input.pass(
16
         :placeholder='question.placeholder'
16
         :placeholder='question.placeholder'
18
         style='-webkit-text-security: circle'
18
         style='-webkit-text-security: circle'
19
         type='password'
19
         type='password'
20
         v-else-if='question.survey_stage === "password"'
20
         v-else-if='question.survey_stage === "password"'
21
-        v-model='input'
22
         v-focus
21
         v-focus
22
+        v-model='input'
23
     )
23
     )
24
     w-button.ma1.grow(
24
     w-button.ma1.grow(
25
         @click='submitImage'
25
         @click='submitImage'

+ 1
- 1
frontend/src/components/onboarding/Splash.vue 查看文件

15
         text
15
         text
16
         xl
16
         xl
17
     ) SIGN UP
17
     ) SIGN UP
18
-    router-link(to="/login")
18
+    router-link(to='/login')
19
         w-button.ma1.grow.next-btn(
19
         w-button.ma1.grow.next-btn(
20
             :height='50'
20
             :height='50'
21
             :width='315'
21
             :width='315'

Loading…
取消
儲存