fix(仪表板): 修复新用户创建第一个仪表板目录时需要刷新一下才出现的问题 #4767

This commit is contained in:
wangjiahao 2023-03-13 18:08:18 +08:00
parent 6158395d62
commit df374b1f0e

View File

@ -899,7 +899,7 @@ export default {
groupTree(this.groupForm, !userCache).then((res) => {
localStorage.setItem('panel-main-tree', JSON.stringify(res.data || []))
if (!userCache) {
this.tData = res.data
this.tData = res.data || []
}
if (this.responseSource === 'appApply') {
this.fromAppActive()