master
xy 12 months ago
parent fbe3c5fb02
commit c751db6d73

@ -736,6 +736,10 @@ export default {
if (!this.hasValue(value)) {
callback(new Error("必填"));
} else {
if (value === this.title) {
callback()
return
}
const res = await checkContractName({ name: value });
if (res === "未重名" || value === this.title) {
callback();

Loading…
Cancel
Save