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