fix: 修改 endpoint state的参数名
This commit is contained in:
@@ -148,7 +148,6 @@ export default {
|
|||||||
this.object.name = this.object.name + '-copy'
|
this.object.name = this.object.name + '-copy'
|
||||||
if (this.object.name.length > 64) {
|
if (this.object.name.length > 64) {
|
||||||
const length = 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'
|
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: '' }
|
this.object = { ...u, name: u.name + '-copy', id: '' }
|
||||||
if (this.object.name.length > 64) {
|
if (this.object.name.length > 64) {
|
||||||
const length = 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.object.name = u.name.substring(0, u.name.length - length) + '-copy'
|
||||||
}
|
}
|
||||||
this.rightBox.show = true
|
this.rightBox.show = true
|
||||||
|
|||||||
@@ -95,7 +95,6 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getMenus().then(() => {
|
this.getMenus().then(() => {
|
||||||
console.log(this.copyFlag)
|
|
||||||
if (this.copyFlag) {
|
if (this.copyFlag) {
|
||||||
this.editRole.id = ''
|
this.editRole.id = ''
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -192,7 +192,6 @@ export default {
|
|||||||
this.object.name = this.object.name + '-copy'
|
this.object.name = this.object.name + '-copy'
|
||||||
if (this.object.name.length > 64) {
|
if (this.object.name.length > 64) {
|
||||||
const length = 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.object.name = u.name.substring(0, u.name.length - length) + '-copy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -196,7 +196,6 @@ export default {
|
|||||||
this.object.name = this.object.name + '-copy'
|
this.object.name = this.object.name + '-copy'
|
||||||
if (this.object.name.length > 64) {
|
if (this.object.name.length > 64) {
|
||||||
const length = 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.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: '' }
|
this.object = { ...u, name: u.name + '-copy', id: '' }
|
||||||
if (this.object.name.length > 64) {
|
if (this.object.name.length > 64) {
|
||||||
const length = 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.object.name = u.name.substring(0, u.name.length - length) + '-copy'
|
||||||
}
|
}
|
||||||
this.rightBox.metaShow = true
|
this.rightBox.metaShow = true
|
||||||
|
|||||||
@@ -85,7 +85,6 @@ export default {
|
|||||||
this.object.name = this.object.name + '-copy'
|
this.object.name = this.object.name + '-copy'
|
||||||
if (this.object.name.length > 64) {
|
if (this.object.name.length > 64) {
|
||||||
const length = 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'
|
this.object.name = row.name.substring(0, row.name.length - length) + '-copy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -94,7 +93,6 @@ export default {
|
|||||||
copy (u) {
|
copy (u) {
|
||||||
this.edit(u, true)
|
this.edit(u, true)
|
||||||
this.copyFlag = true
|
this.copyFlag = true
|
||||||
console.log(this.copyFlag)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -125,7 +125,6 @@ export default {
|
|||||||
this.object.name = this.object.name + '-copy'
|
this.object.name = this.object.name + '-copy'
|
||||||
if (this.object.name.length > 64) {
|
if (this.object.name.length > 64) {
|
||||||
const length = 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.object.name = u.name.substring(0, u.name.length - length) + '-copy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -290,7 +290,7 @@ export default {
|
|||||||
},
|
},
|
||||||
state: {
|
state: {
|
||||||
label: 'State',
|
label: 'State',
|
||||||
key: 'states',
|
key: 'state',
|
||||||
type: 'checkBox',
|
type: 'checkBox',
|
||||||
children: [],
|
children: [],
|
||||||
show: false,
|
show: false,
|
||||||
@@ -312,7 +312,7 @@ export default {
|
|||||||
selectValue: {
|
selectValue: {
|
||||||
projectIds: [],
|
projectIds: [],
|
||||||
moduleIds: [],
|
moduleIds: [],
|
||||||
states: [],
|
state: [],
|
||||||
type: []
|
type: []
|
||||||
},
|
},
|
||||||
searchCheckBox: {}
|
searchCheckBox: {}
|
||||||
@@ -327,7 +327,6 @@ export default {
|
|||||||
this.object.name = this.object.name + '-copy'
|
this.object.name = this.object.name + '-copy'
|
||||||
if (this.object.name.length > 64) {
|
if (this.object.name.length > 64) {
|
||||||
const length = 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'
|
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'
|
this.object.name = this.object.name + '-copy'
|
||||||
if (this.object.name.length > 64) {
|
if (this.object.name.length > 64) {
|
||||||
const length = 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'
|
this.object.name = row.name.substring(0, row.name.length - length) + '-copy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user