wenhongquan %!s(int64=3) %!d(string=hai) anos
pai
achega
722a475f71
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/store/useIncidentStore.ts

+ 1 - 1
src/store/useIncidentStore.ts

@@ -90,7 +90,7 @@ export default defineStore<
     async putbackLog(taskid) {
       try {
         this.toggleLoading();
-        await putbackLog({ taskId: taskid });
+        await putbackLog(JSON.stringify({ taskId: taskid }));
         ElMessage.success({ message: '成功' });
         return true;
       } catch {