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