Skip to content

Commit 97f52ce

Browse files
author
pixel
committed
iconList 组件修复
1 parent d3c16da commit 97f52ce

File tree

3 files changed

+7
-23
lines changed

3 files changed

+7
-23
lines changed

web/src/utils/request.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ const showLoading = () => {
2121
}
2222

2323
const closeLoading = () => {
24-
acitveAxios--
25-
if (acitveAxios <= 0) {
26-
clearTimeout(timer)
27-
loadingInstance && loadingInstance.close()
24+
acitveAxios--
25+
if (acitveAxios <= 0) {
26+
clearTimeout(timer)
27+
loadingInstance && loadingInstance.close()
28+
}
2829
}
29-
}
30-
//http request 拦截器
30+
//http request 拦截器
3131
service.interceptors.request.use(
3232
config => {
3333
showLoading()

web/src/view/iconList/component/iconList.vue

Lines changed: 0 additions & 13 deletions
This file was deleted.

web/src/view/iconList/index.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,15 +1404,12 @@
14041404
</template>
14051405

14061406
<script>
1407-
import iconList from "./component/iconList"
14081407
export default {
14091408
name: 'IconList',
14101409
data() {
14111410
return {}
14121411
},
1413-
components: {
1414-
iconList
1415-
}
1412+
14161413
}
14171414
</script>
14181415

0 commit comments

Comments
 (0)