fix: 修改 endpoint state的参数名

This commit is contained in:
zhangyu
2021-08-27 11:05:02 +08:00
parent a520ea1e8a
commit e4b998f5ee
10 changed files with 2 additions and 13 deletions

View File

@@ -148,7 +148,6 @@ export default {
this.object.name = this.object.name + '-copy'
if (this.object.name.length > 64) {
const length = this.object.name.length - 64
console.log(length, this.object.name.length, row.name.length)
this.object.name = row.name.substring(0, row.name.length - length) + '-copy'
}
}

View File

@@ -150,7 +150,6 @@ export default {
this.object = { ...u, name: u.name + '-copy', id: '' }
if (this.object.name.length > 64) {
const length = this.object.name.length - 64
console.log(length, this.object.name.length, u.name.length)
this.object.name = u.name.substring(0, u.name.length - length) + '-copy'
}
this.rightBox.show = true

View File

@@ -95,7 +95,6 @@ export default {
},
mounted () {
this.getMenus().then(() => {
console.log(this.copyFlag)
if (this.copyFlag) {
this.editRole.id = ''
}

View File

@@ -192,7 +192,6 @@ export default {
this.object.name = this.object.name + '-copy'
if (this.object.name.length > 64) {
const length = this.object.name.length - 64
console.log(length, this.object.name.length, u.name.length)
this.object.name = u.name.substring(0, u.name.length - length) + '-copy'
}
}

View File

@@ -196,7 +196,6 @@ export default {
this.object.name = this.object.name + '-copy'
if (this.object.name.length > 64) {
const length = this.object.name.length - 64
console.log(length, this.object.name.length, u.name.length)
this.object.name = u.name.substring(0, u.name.length - length) + '-copy'
}
}

View File

@@ -251,7 +251,6 @@ export default {
this.object = { ...u, name: u.name + '-copy', id: '' }
if (this.object.name.length > 64) {
const length = this.object.name.length - 64
console.log(length, this.object.name.length, u.name.length)
this.object.name = u.name.substring(0, u.name.length - length) + '-copy'
}
this.rightBox.metaShow = true

View File

@@ -85,7 +85,6 @@ export default {
this.object.name = this.object.name + '-copy'
if (this.object.name.length > 64) {
const length = this.object.name.length - 64
console.log(length, this.object.name.length, row.name.length)
this.object.name = row.name.substring(0, row.name.length - length) + '-copy'
}
}
@@ -94,7 +93,6 @@ export default {
copy (u) {
this.edit(u, true)
this.copyFlag = true
console.log(this.copyFlag)
}
}
}

View File

@@ -125,7 +125,6 @@ export default {
this.object.name = this.object.name + '-copy'
if (this.object.name.length > 64) {
const length = this.object.name.length - 64
console.log(length, this.object.name.length, u.name.length)
this.object.name = u.name.substring(0, u.name.length - length) + '-copy'
}
}

View File

@@ -290,7 +290,7 @@ export default {
},
state: {
label: 'State',
key: 'states',
key: 'state',
type: 'checkBox',
children: [],
show: false,
@@ -312,7 +312,7 @@ export default {
selectValue: {
projectIds: [],
moduleIds: [],
states: [],
state: [],
type: []
},
searchCheckBox: {}
@@ -327,7 +327,6 @@ export default {
this.object.name = this.object.name + '-copy'
if (this.object.name.length > 64) {
const length = this.object.name.length - 64
console.log(length, this.object.name.length, row.name.length)
this.object.name = row.name.substring(0, row.name.length - length) + '-copy'
}
}

View File

@@ -211,7 +211,6 @@ export default {
this.object.name = this.object.name + '-copy'
if (this.object.name.length > 64) {
const length = this.object.name.length - 64
console.log(length, this.object.name.length, row.name.length)
this.object.name = row.name.substring(0, row.name.length - length) + '-copy'
}
}