forked from github/dataease
fix: 修复没有仪表板创建权限,在工作台可以点击使用模板新建跳转到创建页面问题
This commit is contained in:
parent
ec4d3006f7
commit
9275c7e352
@ -238,11 +238,13 @@ const toTemplateMarket = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const toTemplateMarketAdd = () => {
|
const toTemplateMarketAdd = () => {
|
||||||
const params = {
|
if (havePanelAuth.value || haveScreenAuth.value) {
|
||||||
curPosition: 'branchCreate',
|
const params = {
|
||||||
templateType: 'all'
|
curPosition: 'branchCreate',
|
||||||
|
templateType: 'all'
|
||||||
|
}
|
||||||
|
resourceCreateOpt.value.optInit(params)
|
||||||
}
|
}
|
||||||
resourceCreateOpt.value.optInit(params)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fillCardInfo()
|
fillCardInfo()
|
||||||
|
Loading…
Reference in New Issue
Block a user