Commit 2291f84b authored by 乔玉婷's avatar 乔玉婷

主题配置模板通道:通道描述不能超过60个字符check

parent 74402c7a
...@@ -83,7 +83,13 @@ export class CheckService { ...@@ -83,7 +83,13 @@ export class CheckService {
this.flag = 1; this.flag = 1;
return false; return false;
} else { } else {
return true; if (field == "description" && data.description.length > 60) {
this.message.warning(this.translate.instant(this.trans[field]) + '不能超过60个字符!');
this.flag = 1;
return false
}else{
return true;
}
} }
} }
......
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