Commit 4e0a966a by 李伟康

问卷提交增加加载

1 parent b53d9d75
...@@ -80,6 +80,7 @@ export default { ...@@ -80,6 +80,7 @@ export default {
} else { } else {
stepTwo.formRef().validate(async valid => { stepTwo.formRef().validate(async valid => {
if (valid) { if (valid) {
this.loading = true
try { try {
const params = { const params = {
...stepOne.configForm, ...stepOne.configForm,
...@@ -88,7 +89,6 @@ export default { ...@@ -88,7 +89,6 @@ export default {
}, res = await this.$apis.questionnaire.addQuestionnaire(params) }, res = await this.$apis.questionnaire.addQuestionnaire(params)
console.log(res) console.log(res)
if (res) { if (res) {
this.loading = true
this.$message({ this.$message({
message: '创建成功', message: '创建成功',
type: 'success' type: 'success'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!