From d7311dd3ae8dc304da2f7321a4e0c5be68cefb5c Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期四, 22 五月 2025 15:31:51 +0800
Subject: [PATCH] 1
---
src/views/console/basic-data/tpmComp2.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/console/basic-data/tpmComp2.vue b/src/views/console/basic-data/tpmComp2.vue
index e525b0b..3890934 100644
--- a/src/views/console/basic-data/tpmComp2.vue
+++ b/src/views/console/basic-data/tpmComp2.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2024-06-23 21:32:05
- * @LastEditors: Sneed
- * @LastEditTime: 2024-06-23 23:47:43
+ * @LastEditors: lzhe lzhe@example.com
+ * @LastEditTime: 2024-12-18 15:17:16
* @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/console/basic-data/tpmComp2.vue
-->
<template>
@@ -360,7 +360,7 @@
exportData() {
this.$HTTP.post(`/api/smis/device-types/excel/export`, {}, { params: this.params }).then(res => {
if (res.success) {
- window.open(res.data.link)
+ this.$TOOL.downFile(res.data.link,res.data.originalName);
}
})
},
--
Gitblit v1.9.3