浏览代码

add.api连接,由于token权限问题,除上传文件外五个接口无法访问

chen xueyi 2 年之前
父节点
当前提交
b0cf3af517
共有 2 个文件被更改,包括 3 次插入 和 2 次删除
  1. 2 2
      src/components/TCList.vue
  2. 1 0
      src/components/Upload.vue

+ 2 - 2
src/components/TCList.vue

@@ -155,7 +155,7 @@ const deteleList = (scope: any) => {
       .catch((error: AxiosError<any>) => {
         console.log(error);
       });
-  //更新用例列表
+  //Todo:更新用例列表
   useStore.DeteleDocxList(obj)
   //更新操作列表
   actionList.value.push({
@@ -205,7 +205,7 @@ const addDocxList = () => {
         .catch((error: AxiosError<any>) => {
           console.log(error);
         });
-    //更新用力列表
+    //Todo:更新用例列表
     let new_id: any = useStore.DocxList[itemIndex.value].docxMessageList?.length+1
     useStore.DocxList[itemIndex.value].docxMessageList?.push({
       id: new_id,

+ 1 - 0
src/components/Upload.vue

@@ -132,6 +132,7 @@ const dealfilechange = async (event: Event) => {
               axios(processConfig)
                   .then((response) => {
                     console.log(JSON.stringify(response.data));
+                    //Todo:更新用例列表
                   })
                   .catch((error) => {
                     console.log(error);