forked from github/dataease
fix(仪表板): 修复新建仪表板未保存时这个外部参数保存问题
This commit is contained in:
parent
72b6478f8c
commit
dcbdc54648
@ -285,6 +285,14 @@ const batchOptStatusChange = value => {
|
||||
}
|
||||
|
||||
const openOuterParamsSet = () => {
|
||||
if (componentData.value.length === 0) {
|
||||
ElMessage.warning('当前仪表板为空,请先添加组件')
|
||||
return
|
||||
}
|
||||
if (!dvInfo.value.id) {
|
||||
ElMessage.warning('请先保存当前页面')
|
||||
return
|
||||
}
|
||||
outerParamsSetRef.value.optInit()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user