From b5e2e236828b7fbc0e8f2bdbf66651ad8907e3b1 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期三, 21 七月 2021 16:40:17 +0800
Subject: [PATCH] all

---
 src/pages/ai/index/App.vue |   46 ++++------------------------------------------
 1 files changed, 4 insertions(+), 42 deletions(-)

diff --git a/src/pages/ai/index/App.vue b/src/pages/ai/index/App.vue
index d8852e1..71546e0 100644
--- a/src/pages/ai/index/App.vue
+++ b/src/pages/ai/index/App.vue
@@ -297,6 +297,8 @@
                     <p class="src-title">绠楁硶杞欢</p>
                   </div>
                   <div class="store-list flex-list">
+                    <div v-if="!unActivedSDKList.length" class="empty-tip">鏆傛棤鏁版嵁</div>
+
                     <div class="wrap-box" v-for="item in unActivedSDKList" :key="item.id">
                       <div class="list-choose-item-left">
                         <div class="list-complete-item-handle">
@@ -913,7 +915,6 @@
 import FileUploader from "@/components/subComponents/FileUpload/index";
 export default {
   name: "algorithmManage",
-  props: {},
   components: {
     FileUploader,
   },
@@ -921,26 +922,6 @@
     updateNum() {
       return this.hasNewVersionApp.length + this.hasNewVersionSdk.length;
     },
-    // notInstalledList () {
-    //   return this.sdkList.filter(sdk => {
-    //     return sdk.installed === false;
-    //   });
-    // },
-    // installedList () {
-    //   return this.sdkList.filter(sdk => {
-    //     return sdk.installed === true && !sdk.isUpgrade;
-    //   });
-    // },
-    // ungradeList () {
-    //   // 鍗囩骇澶勭悊浼氬鑷撮噸澶嶇殑key,闇�瑕佷慨鏀�
-    //   let arr = this.sdkList.filter(sdk => {
-    //     return sdk.isUpgrade === true;
-    //   });
-    //   arr.forEach(sdk => {
-    //     sdk.upgradeLoading = false;
-    //   });
-    //   return arr;
-    // },
     isAdmin() {
       if (
         sessionStorage.getItem("userInfo") &&
@@ -991,8 +972,6 @@
         licence: "",
         devIds: "",
       },
-      // unloadLoading: false,
-      // installLoading: false,
       installedApps: [],
       storeApps: [],
       installFile: {},
@@ -1296,12 +1275,10 @@
               }
             })
             .catch((e) => {
-              console.log(e);
               app.unloadLoading = false;
             });
         })
         .catch((e) => {
-          console.log(e);
         });
     },
 
@@ -1518,12 +1495,10 @@
               }
             })
             .catch((e) => {
-              console.log(e);
               sdk.unloadLoading = false;
             });
         })
         .catch((e) => {
-          console.log(e);
         });
     },
     upgradeSDKinWin() {
@@ -1998,7 +1973,8 @@
 }
 .empty-tip {
   padding-left: 25px;
-  color: #ccc;
+  color: #ccc;    margin-bottom: 18%;
+
 }
 .task-manage {
   height: 100%;
@@ -2044,12 +2020,6 @@
     padding: 0 !important;
     overflow: auto !important;
   }
-  //height: calc(100% - 10px);
-  // .super {
-  //   .right-box {
-  //     width: 58% !important;
-  //   }
-  // }
 
   .super {
     width: 100%;
@@ -2062,10 +2032,8 @@
       color: #222222;
     }
     .left-box {
-      // width: 41%;
       height: 100%;
       box-sizing: border-box;
-      // float: left;
       .el-drawer__header {
         border-bottom: 2px solid #eee;
         padding-bottom: 10px;
@@ -2082,7 +2050,6 @@
         }
       }
       .task-list {
-        // background: #1c364a;
         background: #fff;
         padding: 20px;
         box-sizing: border-box;
@@ -2321,7 +2288,6 @@
       margin-top: 16px;
       text-align: center;
       line-height: 28px;
-      // background-color: #3498DB;
     }
     .list-choose-item-left {
       cursor: pointer;
@@ -2329,7 +2295,6 @@
       font-size: 14px;
 
       transition: all 1s;
-      // background: #ffffff;
       border-radius: 4px;
       p {
         display: none;
@@ -2478,7 +2443,6 @@
       font-size: 14px;
       letter-spacing: 0.05em;
       color: #333;
-      // background-color: #ecf5ff;
       .el-input {
         position: relative;
         font-size: 14px;
@@ -2523,8 +2487,6 @@
           left: 50%;
           transform: translate(-50%, -50%);
           max-height: 150px;
-          // max-width: 106px;
-          // max-height: 106px;
         }
       }
       .willUpGrade {

--
Gitblit v1.8.0