fix:修改 lincense。id报错的问题
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user