NEZ-2681 fix:panel更改为dashboard
This commit is contained in:
@@ -406,7 +406,7 @@ export const theme = [
|
||||
export const sameLabels = ['instance', 'module', 'project', 'asset', 'endpoint', 'datacenter', 'datacenter_id', 'endpoint_id', 'module_id', 'nz_agent_id', 'project_id']
|
||||
// 公共组件的跳转来源
|
||||
export const fromRoute = {
|
||||
panel: 'panel',
|
||||
dashboard: 'dashboard',
|
||||
explore: 'explore',
|
||||
alertMessage: 'alertMessage',
|
||||
alertRule: 'alertRule',
|
||||
|
||||
@@ -600,7 +600,7 @@ export const chartResizeTool = {
|
||||
if (data.height != originalData.height || data.span != originalData.span) {
|
||||
originalData.height = data.height
|
||||
originalData.span = data.span
|
||||
vm.$put('/visual/panel/chart/modify', originalData)
|
||||
vm.$put('/visual/dashboard/chart/modify', originalData)
|
||||
}
|
||||
// 关闭背景阴影
|
||||
shadow.classList.remove('resize-shadow-active')
|
||||
|
||||
Reference in New Issue
Block a user