From 3ff6c6fe2f861346e4106f70e93d57f4761e89fd Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Mon, 5 Feb 2024 17:49:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=BC=E5=87=BA=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A8=A1=E7=89=88=E7=94=A8=E4=B8=8D=E5=90=8C?= =?UTF-8?q?=E7=9A=84action=20=E5=8E=BB=E5=AF=B9=E5=BA=94=E5=90=8E=E5=8F=B0?= =?UTF-8?q?serializer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Table/ListTable/TableAction/ImportDialog.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Table/ListTable/TableAction/ImportDialog.vue b/src/components/Table/ListTable/TableAction/ImportDialog.vue index 500d22404..c7028b9ca 100644 --- a/src/components/Table/ListTable/TableAction/ImportDialog.vue +++ b/src/components/Table/ListTable/TableAction/ImportDialog.vue @@ -199,7 +199,8 @@ export default { }, async getDownloadTemplateUrl(tp) { const template = this.importOption === 'create' ? 'import' : 'update' - let query = `format=${tp}&template=${template}` + const action = this.importOption === 'create' ? 'create' : 'partial_update' + let query = `format=${tp}&template=${template}&action=${action}` if (this.importOption === 'update' && this.selectedRows.length > 0) { const resources = [] for (const item of this.selectedRows) {