更改发送规格
This commit is contained in:
@@ -333,7 +333,6 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
:icon="Promotion"
|
:icon="Promotion"
|
||||||
:loading="isCreating"
|
:loading="isCreating"
|
||||||
:disabled="!userInput.trim()"
|
|
||||||
@click="sendMessage"
|
@click="sendMessage"
|
||||||
class="send-btn"
|
class="send-btn"
|
||||||
circle
|
circle
|
||||||
@@ -1046,11 +1045,6 @@ const handleCreationSkillConfirm = (skill: SkillItem) => {
|
|||||||
};
|
};
|
||||||
// 发送消息/开始创作
|
// 发送消息/开始创作
|
||||||
const sendMessage = async () => {
|
const sendMessage = async () => {
|
||||||
if (!userInput.value.trim()) {
|
|
||||||
ElMessage.warning('请输入创作需求');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!currentWorkflowForCreation.value) {
|
if (!currentWorkflowForCreation.value) {
|
||||||
ElMessage.warning('请先选择一个工作流');
|
ElMessage.warning('请先选择一个工作流');
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user