fix: 修复ipam type 下拉重复内容
This commit is contained in:
@@ -310,10 +310,10 @@ export default {
|
||||
url = '/dc/cabinet/template'
|
||||
} else if (this.importUrl.indexOf('dc') > -1) {
|
||||
url = '/dc/template'
|
||||
} else if (this.importUrl.indexOf('/ipam/subnet') > -1) {
|
||||
} else if (this.importUrl.indexOf('ipam/subnet') > -1) {
|
||||
url = '/ipam/subnet/template'
|
||||
} else if (this.importUrl.indexOf('/ipam/ip') > -1) {
|
||||
url = ' /ipam/ip/template'
|
||||
} else if (this.importUrl.indexOf('ipam/ip') > -1) {
|
||||
url = '/ipam/ip/template'
|
||||
}
|
||||
if (!url) {
|
||||
console.error('no interface support')
|
||||
|
||||
Reference in New Issue
Block a user