From 59caca341676daef4810eea88e1a4cf76a97894f Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 18 Mar 2022 10:26:36 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=20lincense?= =?UTF-8?q?=E3=80=82id=E6=8A=A5=E9=94=99=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/common/login.vue | 2 +- nezha-fronted/src/components/page/config/system/license.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/login.vue b/nezha-fronted/src/components/common/login.vue index 7588803e6..637f48604 100644 --- a/nezha-fronted/src/components/common/login.vue +++ b/nezha-fronted/src/components/common/login.vue @@ -270,7 +270,7 @@ export default { }, downloadLogin () { this.$get('/sys/license/token').then(res => { - let fileName = this.licenseList.id + '-' + this.getTimeString() + '.xml' + let fileName = '' const resFileName = res.headers['content-disposition'].split('=')[1] if (resFileName) { fileName = resFileName diff --git a/nezha-fronted/src/components/page/config/system/license.vue b/nezha-fronted/src/components/page/config/system/license.vue index 2b80d6aa0..fbd570fe4 100644 --- a/nezha-fronted/src/components/page/config/system/license.vue +++ b/nezha-fronted/src/components/page/config/system/license.vue @@ -194,7 +194,7 @@ export default { }, downloadLicense () { this.$get('/sys/license/token').then(res => { - let fileName = this.licenseList.id + '-' + this.getTimeString() + '.xml' + let fileName = '' const resFileName = res.headers['content-disposition'].split('=')[1] if (resFileName) { fileName = resFileName