瀏覽代碼

removed some todo comments

tags/0.0.1
diaseu 4 年之前
父節點
當前提交
7b7b4129e4
共有 1 個檔案被更改,包括 0 行新增6 行删除
  1. 0
    6
      frontend/src/components/form.vue

+ 0
- 6
frontend/src/components/form.vue 查看文件

@@ -110,13 +110,7 @@ const isValid = step => {
110 110
 const next = e => {
111 111
     const validity = isValid(state.step - 1)
112 112
     if (validity.error) return console.error(validity.error)
113
-    // TODO: make steps work,
114
-    // Save or next
115 113
     if (state.step === props.form.length) {
116
-        // TODO: call survey service
117
-        // TODO: in the survey service, create a save function
118
-        // call service from here, pass it profile id as argument
119
-        // profileId = answers['what-is-your-user-id']
120 114
         const questiontoResponseKeyId = {}
121 115
         props.form.forEach(step => {
122 116
             step.forEach(prompt => {

Loading…
取消
儲存