content处理
This commit is contained in:
@@ -776,8 +776,11 @@ export default {
|
|||||||
this.$message.error("请输入标签名称");
|
this.$message.error("请输入标签名称");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!this.addForm.content){
|
||||||
|
this.addForm.content = ''
|
||||||
|
}
|
||||||
console.log(this.addForm, "this.addForm-----------");
|
console.log(this.addForm, "this.addForm-----------");
|
||||||
|
|
||||||
await this.$refs[formName].validate(async valid => {
|
await this.$refs[formName].validate(async valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
await this.$http({
|
await this.$http({
|
||||||
|
|||||||
Reference in New Issue
Block a user