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