feat(视图):添加视图增加loading

This commit is contained in:
junjie 2021-06-01 15:58:03 +08:00
parent 4cbe01ca16
commit 196c003445

View File

@ -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
})
},