Commit b53d9d75 by 李伟康

问卷需求

1 parent 9317f256
...@@ -379,7 +379,7 @@ export default { ...@@ -379,7 +379,7 @@ export default {
this.close() this.close()
} catch (error) { } catch (error) {
console.log(error) console.log(error)
this.$message.error(error) if (error) this.$message.error(error)
} }
} }
}) })
......
...@@ -173,6 +173,7 @@ export default { ...@@ -173,6 +173,7 @@ export default {
if (params.type == 3) obj.maxLength = params.data if (params.type == 3) obj.maxLength = params.data
else obj.option = params.option else obj.option = params.option
this.configForm.questions.push(obj) this.configForm.questions.push(obj)
this.formRef().validateField('questions')
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!