fix:修改asset 顶部按钮,修改assetModel 上滑,修改module endpoint上滑编辑页面
This commit is contained in:
@@ -158,7 +158,7 @@ export default {
|
||||
rollbackImport () {
|
||||
let url
|
||||
if (this.importUrl.indexOf('asset') > -1) {
|
||||
url = '/asset/cancelImport'
|
||||
url = '/asset/asset/cancelImport'
|
||||
} else if (this.importUrl.indexOf('endpoint') > -1) {
|
||||
url = '/monitor/endpoint/cancelImport'
|
||||
} else if (this.importUrl.indexOf('rule') > -1) {
|
||||
@@ -227,7 +227,7 @@ export default {
|
||||
|
||||
let url = null
|
||||
if (this.importUrl.indexOf('asset') > -1) {
|
||||
url = '/asset/template'
|
||||
url = '/asset/asset/template'
|
||||
} else if (this.importUrl.indexOf('rule') > -1) {
|
||||
url = '/alert/rule/template'
|
||||
} else if (this.importUrl.indexOf('panel') > -1) {
|
||||
|
||||
Reference in New Issue
Block a user