Skip to content

Commit

Permalink
fix: alist签名兼容
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanqb committed Mar 12, 2024
1 parent 781f70a commit 780404f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion style/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ new Vue({
} else {
this.menuContentMap[key] = { loaded: false, data: null }
}
const reqUrl = `${this.columnConfig.columApiServer}/d` + menuNode.path
const fileSign = menuNode.fileSign ? `?sign=${menuNode.fileSign}` : ''
const reqUrl = `${this.columnConfig.columApiServer}/d` + menuNode.path + fileSign
if (menuNode.type === 'pdf') {
axios({
method: 'get',
Expand Down Expand Up @@ -537,6 +538,7 @@ new Vue({
sourceMenuName: menuName,
parentPath: this.columnConfig.columPath + `/${this.selectColumn.value}`,
path: this.columnConfig.columPath + encodeURIComponent(`/${relativePath}`),
fileSign: obj.sign,
relativePath: relativeMenuPath
})
}
Expand Down

0 comments on commit 780404f

Please sign in to comment.