From 780404fda3a6df93036787688a6fdc7b1c2371df Mon Sep 17 00:00:00 2001 From: xuanqb Date: Tue, 12 Mar 2024 10:21:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20alist=E7=AD=BE=E5=90=8D=E5=85=BC?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style/core.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/style/core.js b/style/core.js index fa7ec79..3e793a3 100644 --- a/style/core.js +++ b/style/core.js @@ -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', @@ -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 }) }