diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/defineUserCount.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/defineUserCount.vue index ea1123ad85..b825f5025f 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/defineUserCount.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/defineUserCount.vue @@ -16,13 +16,13 @@ */ @@ -37,7 +37,7 @@ data () { return { isSpin: true, - msg: '', + msg: true, parameter: {projectId: 0} } }, @@ -73,6 +73,7 @@ this.isSpin = true this.parameter.projectId = this.projectId; this.getDefineUserCount(this.parameter).then(res => { + this.msg = res.data.count > 0 ? true : false this.defineUserList = [] this._handleDefineUser(res) this.isSpin = false