Browse Source

iconList 组件修复

pixel 4 years ago
parent
commit
97f52ce36c

+ 6 - 6
web/src/utils/request.js

@@ -21,13 +21,13 @@ const showLoading = () => {
 }
 
 const closeLoading = () => {
-    acitveAxios--
-    if (acitveAxios <= 0) {
-        clearTimeout(timer)
-        loadingInstance && loadingInstance.close()
+        acitveAxios--
+        if (acitveAxios <= 0) {
+            clearTimeout(timer)
+            loadingInstance && loadingInstance.close()
+        }
     }
-}
-//http request 拦截器
+    //http request 拦截器
 service.interceptors.request.use(
     config => {
         showLoading()

+ 0 - 13
web/src/view/iconList/component/iconList.vue

@@ -1,13 +0,0 @@
-<template>
-    
-</template>
-
-<script>
-    export default {
-        name: "iconList"
-    }
-</script>
-
-<style scoped>
-
-</style>

+ 1 - 4
web/src/view/iconList/index.vue

@@ -1404,15 +1404,12 @@
 </template>
 
 <script>
-    import iconList from "./component/iconList"
     export default {
         name: 'IconList',
         data() {
             return {}
         },
-        components: {
-            iconList
-        }
+      
     }
 </script>