wenhongquan hace 3 años
padre
commit
722a475f71
Se han modificado 1 ficheros con 1 adiciones y 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 {