feat : issue 编辑页面开发
This commit is contained in:
@@ -365,7 +365,8 @@ export default {
|
|||||||
handler (n, o) {
|
handler (n, o) {
|
||||||
this.isEdit = true
|
this.isEdit = true
|
||||||
this.editIssue = {
|
this.editIssue = {
|
||||||
...n
|
...n,
|
||||||
|
assetIds: n.assetIds.join(',')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -172,19 +172,6 @@ export default {
|
|||||||
mounted () {
|
mounted () {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
edit (u) {
|
|
||||||
this.$nextTick(() => {
|
|
||||||
this.$get(`${this.url}/${u.id}`).then(response => {
|
|
||||||
if (response.code === 200) {
|
|
||||||
this.object = {
|
|
||||||
...response.data,
|
|
||||||
assetIds: response.data.assetIds.join(',')
|
|
||||||
}
|
|
||||||
this.rightBox.show = true
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user