fix: 修改endpoint Configuration无法复制的问题
This commit is contained in:
@@ -258,13 +258,8 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
copyValue (item) {
|
copyValue (item) {
|
||||||
const str = []
|
const str = item
|
||||||
if (item.configs[0].enabled) {
|
console.log(str)
|
||||||
str.push(item.configs[0])
|
|
||||||
}
|
|
||||||
if (item.configs[1].enabled) {
|
|
||||||
str.push(item.configs[1])
|
|
||||||
}
|
|
||||||
const domUrl = document.createElement('input')
|
const domUrl = document.createElement('input')
|
||||||
domUrl.value = JSON.stringify(str)
|
domUrl.value = JSON.stringify(str)
|
||||||
domUrl.id = 'creatDom'
|
domUrl.id = 'creatDom'
|
||||||
|
|||||||
Reference in New Issue
Block a user