forked from github/dataease
Merge pull request #4768 from dataease/pr@dev@fix_panel-new-forld
fix(仪表板): 修复新用户创建第一个仪表板目录时需要刷新一下才出现的问题 #4767
This commit is contained in:
commit
b5608baf51
@ -899,7 +899,7 @@ export default {
|
|||||||
groupTree(this.groupForm, !userCache).then((res) => {
|
groupTree(this.groupForm, !userCache).then((res) => {
|
||||||
localStorage.setItem('panel-main-tree', JSON.stringify(res.data || []))
|
localStorage.setItem('panel-main-tree', JSON.stringify(res.data || []))
|
||||||
if (!userCache) {
|
if (!userCache) {
|
||||||
this.tData = res.data
|
this.tData = res.data || []
|
||||||
}
|
}
|
||||||
if (this.responseSource === 'appApply') {
|
if (this.responseSource === 'appApply') {
|
||||||
this.fromAppActive()
|
this.fromAppActive()
|
||||||
|
Loading…
Reference in New Issue
Block a user