fix:修改 lincense。id报错的问题

This commit is contained in:
zhangyu
2022-03-18 10:26:36 +08:00
parent fb6f94b666
commit 59caca3416
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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