fix: 修改 endpoint state的参数名
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -95,7 +95,6 @@ export default {
|
||||
},
|
||||
mounted () {
|
||||
this.getMenus().then(() => {
|
||||
console.log(this.copyFlag)
|
||||
if (this.copyFlag) {
|
||||
this.editRole.id = ''
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user