File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ export default function useFileData() {
127
127
} else {
128
128
title . value = storageConfigStore . globalConfig . siteName + ' | 首页' ;
129
129
}
130
+
131
+ loadFileConfig ( param ) ;
130
132
} ) . catch ( ( error ) => {
131
133
let data = error . response . data ;
132
134
// 如果需要密码或密码错误进行提示, 并弹出输入密码的框.
@@ -143,10 +145,12 @@ export default function useFileData() {
143
145
}
144
146
145
147
// 加载存储器设置
146
- const loadFileConfig = ( ) => {
148
+ const loadFileConfig = ( loadFileParam ) => {
149
+
147
150
let param = {
148
151
storageKey : storageKey . value ,
149
- path : currentPath . value
152
+ path : currentPath . value ,
153
+ password : loadFileParam . password
150
154
}
151
155
loadStorageConfigReq ( param ) . then ( ( res ) => {
152
156
storageConfigStore . updateFolderConfig ( res . data ) ;
You can’t perform that action at this time.
0 commit comments