feat(视图):添加视图增加loading
This commit is contained in:
parent
4cbe01ca16
commit
196c003445
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<el-col>
|
||||
<!-- group -->
|
||||
<el-col v-if="!sceneMode">
|
||||
<el-col v-if="!sceneMode" v-loading="dsLoading">
|
||||
<el-row class="title-css">
|
||||
<span class="title-text">
|
||||
{{ $t('dataset.datalist') }}
|
||||
@ -212,8 +212,10 @@ export default {
|
||||
},
|
||||
|
||||
tree(group) {
|
||||
this.dsLoading = true
|
||||
post('/dataset/group/tree', group).then(response => {
|
||||
this.data = response.data
|
||||
this.dsLoading = false
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user