diff --git a/nezha-fronted/src/components/common/rightBox/issueBox.vue b/nezha-fronted/src/components/common/rightBox/issueBox.vue index d2243f72c..ec410ccbe 100644 --- a/nezha-fronted/src/components/common/rightBox/issueBox.vue +++ b/nezha-fronted/src/components/common/rightBox/issueBox.vue @@ -365,7 +365,8 @@ export default { handler (n, o) { this.isEdit = true this.editIssue = { - ...n + ...n, + assetIds: n.assetIds.join(',') } } } diff --git a/nezha-fronted/src/components/page/config/issue.vue b/nezha-fronted/src/components/page/config/issue.vue index f6265afd6..61a8b8c09 100644 --- a/nezha-fronted/src/components/page/config/issue.vue +++ b/nezha-fronted/src/components/page/config/issue.vue @@ -172,19 +172,6 @@ export default { mounted () { }, 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 () { }