From 9df377677b5aa57a816d85d5c69eeb7241a9c52f Mon Sep 17 00:00:00 2001 From: chc <1501738723@qq.com> Date: Thu, 19 Jan 2023 17:26:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E9=9D=A2=E5=8D=95=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/views/shop/ship/logistics.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/seller/src/views/shop/ship/logistics.vue b/seller/src/views/shop/ship/logistics.vue index 2807e417..d11b99b6 100644 --- a/seller/src/views/shop/ship/logistics.vue +++ b/seller/src/views/shop/ship/logistics.vue @@ -9,7 +9,7 @@ ref="table" > - +

是否需要电子面单

标签 //根据点击按钮来下载不同文件 if (val === 'use') { - a.href = "static/open.xlsx"; // 给a标签的href属性值加上地址,注意,这里是绝对路径,不用加 点. + a.href = "static/instructions.xlsx"; // 给a标签的href属性值加上地址,注意,这里是绝对路径,不用加 点. a.download = "使用说明.xlsx"; //设置下载文件文件名,这里加上.xlsx指定文件类型,pdf文件就指定.fpd即可 } else if (val === 'type') { a.href = "static/logisticsType.xlsx"; // 给a标签的href属性值加上地址,注意,这里是绝对路径,不用加 点.