Browse Source

iconList 组件修复

main
pixel 5 years ago
parent
commit
97f52ce36c
  1. 12
      web/src/utils/request.js
  2. 13
      web/src/view/iconList/component/iconList.vue
  3. 5
      web/src/view/iconList/index.vue

12
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()

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

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

5
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>

Loading…
Cancel
Save