content处理

This commit is contained in:
@fawn-nine
2024-06-06 11:28:45 +08:00
parent 78b8a4b49e
commit 3c0e7ec342

View File

@@ -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({