提交 196c0034 authored 作者: junjie's avatar junjie

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

上级 4cbe01ca
<template> <template>
<el-col> <el-col>
<!-- group --> <!-- group -->
<el-col v-if="!sceneMode"> <el-col v-if="!sceneMode" v-loading="dsLoading">
<el-row class="title-css"> <el-row class="title-css">
<span class="title-text"> <span class="title-text">
{{ $t('dataset.datalist') }} {{ $t('dataset.datalist') }}
...@@ -212,8 +212,10 @@ export default { ...@@ -212,8 +212,10 @@ export default {
}, },
tree(group) { tree(group) {
this.dsLoading = true
post('/dataset/group/tree', group).then(response => { post('/dataset/group/tree', group).then(response => {
this.data = response.data this.data = response.data
this.dsLoading = false
}) })
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论