feat:修改 asset 的 loading
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<left-menu @refresh="refresh"></left-menu>
|
||||
<div ref="body" class="body">
|
||||
<Header></Header>
|
||||
<container v-if="containerShow" ref="container" v-my-loading="myLoading"></container>
|
||||
<container v-if="containerShow" ref="container"></container>
|
||||
</div>
|
||||
<!--web-ssh-->
|
||||
<web-ssh ref="webSsh"></web-ssh>
|
||||
@@ -36,7 +36,6 @@ export default {
|
||||
data () {
|
||||
return {
|
||||
containerShow: true,
|
||||
myLoading: true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -45,9 +44,6 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
// setInterval(() => {
|
||||
// this.myLoading = !this.myLoading
|
||||
// }, 3000)
|
||||
},
|
||||
destroyed () {
|
||||
localStorage.removeItem('moduleProjectId')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<nzDetailView
|
||||
v-loading="detailViewLoading || tools.loading"
|
||||
v-my-loading="detailViewLoading || tools.loading"
|
||||
v-if="detailType !== 'list'"
|
||||
:api="url"
|
||||
ref="detailList"
|
||||
@@ -44,7 +44,7 @@
|
||||
class="data-detail"
|
||||
ref="dataDetail"
|
||||
:orderByFa="orderBy"
|
||||
v-loading="tools.loading"
|
||||
v-my-loading="tools.loading"
|
||||
:loading="tools.loading"
|
||||
:detailViewRightObj="detailViewRightObj"
|
||||
:api="url"
|
||||
@@ -72,7 +72,7 @@
|
||||
</template>
|
||||
</nzDetailView>
|
||||
<nz-data-list
|
||||
v-loading="detailViewLoading"
|
||||
v-my-loading="detailViewLoading"
|
||||
v-if="detailType === 'list'"
|
||||
ref="dataList"
|
||||
:api="url"
|
||||
@@ -128,7 +128,7 @@
|
||||
<asset-table
|
||||
ref="dataTable"
|
||||
:orderByFa="orderBy"
|
||||
v-loading="tools.loading"
|
||||
v-my-loading="tools.loading"
|
||||
:loading="tools.loading"
|
||||
:api="url"
|
||||
:custom-table-title="tools.customTableTitle"
|
||||
|
||||
Reference in New Issue
Block a user