NEZ-1695 fix: Explore保存图表后无法实现跳转
This commit is contained in:
@@ -226,6 +226,10 @@ export default {
|
||||
params.x = 0
|
||||
params.y = 999
|
||||
}
|
||||
if (this.from === 'explore') { // explore 新增 放在最后
|
||||
params.x = 0
|
||||
params.y = 999
|
||||
}
|
||||
if (!params.x && !params.y && this.from === 'chartTemp') { // chartTemp 新增 在第一位
|
||||
params.x = 0
|
||||
params.y = 0
|
||||
|
||||
@@ -982,7 +982,7 @@ export default {
|
||||
this.chartData = chart
|
||||
this.rightBox.show = true
|
||||
},
|
||||
createSuccess (type, response, param, panel) { // 添加chart成功
|
||||
createSuccess (panel) { // 添加chart成功
|
||||
this.$confirm(this.$t('dashboard.metric.goPanelTip'), this.$t('tip.saveSuccess'), {
|
||||
confirmButtonText: this.$t('tip.yes'),
|
||||
cancelButtonText: this.$t('tip.no'),
|
||||
|
||||
Reference in New Issue
Block a user