tangning 5 bulan lalu
induk
melakukan
ac4fd71ae3
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      src/store/system.ts
  2. 1 1
      src/view/case/draw/login.vue

+ 1 - 1
src/store/system.ts

@@ -154,7 +154,7 @@ if (user.value.token) {
 export const uploadFile = async (file: File) => {
   const route = router.currentRoute.value;
   const url = route.name !== 'drawShareFile'?uploadFileUrl:newupload
-  return (await axios.post<string>(url, { file })).data;
+  return (await axios.post<string>(url, { file, files: file })).data;
 };
 
 

+ 1 - 1
src/view/case/draw/login.vue

@@ -88,7 +88,7 @@
       <template #footer>
         <div class="dialog-footer">
           <div class="tips">
-            公安部鉴定中心 & 江门市公安局 & 五邑大学联合实验室
+            公安部鉴定中心 & 江门市公安局 & 四维时代
           </div>
           <div class="tips" >公安部科技强警基础工作计划(2022JC13)</div>
           <!-- <el-button @click="loginShow = false">Cancel</el-button>