fix:修改panel chart 模板导出 以及导出撤销的接口

This commit is contained in:
zhangyu
2021-05-12 11:39:21 +08:00
parent 273af49d81
commit 56e69ac919
2 changed files with 3 additions and 3 deletions

View File

@@ -160,7 +160,7 @@ export default {
} else if (this.importUrl.indexOf('rule') > -1) {
url = '/alert/rule/cancelImport'
} else if (this.importUrl.indexOf('panel') > -1) {
url = '/panel/cancelImport'
url = 'visual/panel/cancelImport'
} else if (this.importUrl.indexOf('tmpl') > -1) {
url = '/expression/tmpl/cancelImport'
}
@@ -227,7 +227,7 @@ export default {
} else if (this.importUrl.indexOf('rule') > -1) {
url = '/alert/rule/template'
} else if (this.importUrl.indexOf('panel') > -1) {
url = '/panel/template'
url = 'visual/panel/template'
} else if (this.importUrl.indexOf('endpoint') > -1) {
url = '/monitor/endpoint/template'
} else if (this.importUrl.indexOf('tmpl') > -1) {