Commit a33b53cf by caoyanzhi

Merge branch 'feature/5月迭代' into dev

parents 21152f93 de8f094a
......@@ -404,6 +404,8 @@ export default {
},
// 校验屏蔽词
validateContent() {
this.loading = true;
this.validateStatus = null;
checkSmsContext({ context: this.form.content, type: this.form.type })
.then(res => {
this.validateStatus = 1;
......@@ -411,6 +413,11 @@ export default {
.catch(err => {
this.validateStatus = 0;
this.validaErrorMsg = err.data.message;
})
.finally(() => {
setTimeout(() => {
this.loading = false;
}, 500);
});
},
// 重置校验屏蔽词的状态
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment