guhongwei hai 1 ano
pai
achega
970f1383a7
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/views/spatentadmin/info/parts/c-download.vue

+ 4 - 4
src/views/spatentadmin/info/parts/c-download.vue

@@ -15,9 +15,9 @@ import { onMounted, ref } from 'vue';
 
 // 接口
 
-import { PatentStore } from '@common/src/stores/patent/patent'; //
+import { DownloadStore } from '@common/src/stores/system/download'; //
 import type { IQueryResult } from '@/util/types.util';
-const patentAxios = PatentStore();
+const downloadAxios = DownloadStore();
 
 // 加载中
 const loading: Ref<any> = ref(false);
@@ -37,9 +37,9 @@ onMounted(async () => {
   loading.value = false;
 });
 const search = async () => {
-  let res: IQueryResult = await patentAxios.pqueue();
+  let res: IQueryResult = await downloadAxios.query({});
   if (res.errcode == '0') {
-    list.value = [res.data];
+    list.value = res.data;
   }
 };
 // 下载