From a15a0042c3fb9d5317d3002bcbc9c4a15ffdea6d Mon Sep 17 00:00:00 2001 From: libing Date: Wed, 13 Dec 2023 12:53:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A6=E8=BE=B9=E5=8C=BA=E5=9F=9F=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/emis/emisCountry/index.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/views/emis/emisCountry/index.vue b/src/views/emis/emisCountry/index.vue index 1575175b..28f67ea7 100644 --- a/src/views/emis/emisCountry/index.vue +++ b/src/views/emis/emisCountry/index.vue @@ -48,8 +48,8 @@ @@ -384,10 +384,17 @@ export default { this.openForm = true; this.titleForm = "新增"; }, + handleUpdateContinent(row){ + //console.log(row); this.currentContinentId = row.id || this.ids; - this.openForm = true; - this.titleForm = "修改"; + this.reset(); + const id = row.id || this.ids; + getEmisContinent(id).then(response => { + this.form = response.data; + this.openForm = true; + this.titleForm = "修改"; + }); }, handleDeleteContinent(row){ const ids = row.id || this.ids;