diff --git a/language/original-api.txt b/language/original-api.txt index c768be02e..43da45bc4 100644 --- a/language/original-api.txt +++ b/language/original-api.txt @@ -908,3 +908,6 @@ URL格式不正确 生成项目失败 生成项目成功 清理完成 + +项目提示词不能为空 +消息提示词不能为空 diff --git a/resources/assets/js/functions/web.js b/resources/assets/js/functions/web.js index 71e604b2b..77ed0a9e6 100755 --- a/resources/assets/js/functions/web.js +++ b/resources/assets/js/functions/web.js @@ -859,6 +859,9 @@ import {convertLocalResourcePath} from "../components/Replace/utils"; config.value = val; }, 'on-enter': (e) => { + if (inputProps.type === 'textarea') { + return; + } $A(e.target).parents(".ivu-modal-body").find(".ivu-btn-primary").click(); } }