26412
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
</template>
|
||||
<template #footer>
|
||||
<el-button @click="cancel">取消</el-button>
|
||||
<el-button type="primary" @click="confirm">提交</el-button>
|
||||
<el-button type="primary" @click="confirm" :loading="isLoading">提交</el-button>
|
||||
</template>
|
||||
</ai-detail>
|
||||
</template>
|
||||
@@ -107,6 +107,7 @@
|
||||
anonymity: '1',
|
||||
images: []
|
||||
},
|
||||
isLoading: false,
|
||||
keys: ['A', 'B', 'C', 'D', 'E', 'F', 'G'],
|
||||
id: ''
|
||||
}
|
||||
@@ -182,7 +183,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.isLoading = true
|
||||
this.instance.post(`/app/appvillagediscuss/addOrUpdate`, {
|
||||
...this.form,
|
||||
createUserId: this.user.info.id,
|
||||
@@ -192,9 +193,12 @@
|
||||
if (res.code == 0) {
|
||||
this.$message.success('提交成功')
|
||||
setTimeout(() => {
|
||||
this.isLoading = false
|
||||
this.cancel(true)
|
||||
}, 600)
|
||||
}, 300)
|
||||
}
|
||||
}).catch(() => {
|
||||
this.isLoading = false
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user