From b6fb226c24a17849d6a952f6736405cfa92a75e0 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 7 Jul 2020 16:33:16 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-347=20fix=EF=BC=9A=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E6=9B=B4=E6=96=B0link=E5=A4=9A=E4=BC=A0=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/config/system.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/page/config/system.vue b/nezha-fronted/src/components/page/config/system.vue index c5bced1e7..8b3653eaa 100644 --- a/nezha-fronted/src/components/page/config/system.vue +++ b/nezha-fronted/src/components/page/config/system.vue @@ -641,7 +641,12 @@ console.log(this.$refs['linkForm'+item.id]); this.$refs['linkForm'+item.id][0].validate((valid) => { if (valid) { - this.$put('/link',item).then(response=>{ + let params={ + id:item.id, + name:item.name, + url:item.url, + }; + this.$put('/link',params).then(response=>{ if(response.code == 200){ let index=this.link.findIndex((item1)=>item.id==item1.id); this.$set(this.link,index,{...this.link[index],isEdit:false});