From 5c6695a1265f23acbe79faa3e9e669bd0e104d3c Mon Sep 17 00:00:00 2001 From: likexuan Date: Tue, 16 Aug 2022 15:47:33 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20issue=20=E7=BC=96=E8=BE=91=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/rightBox/issueBox.vue | 3 ++- nezha-fronted/src/components/page/config/issue.vue | 13 ------------- 2 files changed, 2 insertions(+), 14 deletions(-) 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 () { }