forked from github/dataease
fix: 修复在仪表板文件夹上应用模板创建仪表板,保存时没有自动选择文件夹问题
This commit is contained in:
parent
e2503d3cf7
commit
f76ca3f250
@ -428,7 +428,11 @@ const apply = () => {
|
||||
templateData.type === 'dataV'
|
||||
? '#/dvCanvas?opt=create&createType=template'
|
||||
: '#/dashboard?opt=create&createType=template'
|
||||
window.open(baseUrl, '_blank')
|
||||
if (state.pid) {
|
||||
window.open(baseUrl + `&pid=${state.pid}`, '_blank')
|
||||
} else {
|
||||
window.open(baseUrl, '_blank')
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
state.loading = false
|
||||
|
Loading…
Reference in New Issue
Block a user