feat : issue 编辑页面开发

This commit is contained in:
likexuan
2022-08-16 15:47:33 +08:00
parent fcdd26550c
commit 5c6695a126
2 changed files with 2 additions and 14 deletions

View File

@@ -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(',')
} }
} }
} }

View File

@@ -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 () {
} }