Эх сурвалжийг харах

feat: 新建的时候隐藏上传的状态

sunxiao 7 сар өмнө
parent
commit
fdb4cbb09d

+ 2 - 0
src/views/work/WorkView.vue

@@ -36,6 +36,8 @@ const isExistInHistory = computed(() => (recordList.value.findIndex(({ sessionId
 const handleCreateDialog = async () => {
 const handleCreateDialog = async () => {
   message.destroyAll();
   message.destroyAll();
 
 
+  inputRef.value.clearFileList();
+
   if (unref(isLoading)) {
   if (unref(isLoading)) {
     return message.warning('当前对话生成中');
     return message.warning('当前对话生成中');
   }
   }