From c8804ceb1fe2dea76f9949c5ea04423876ee2c81 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 28 六月 2024 14:02:47 +0800 Subject: [PATCH] 2024-06-28 --- src/menu/transfer/index.jsx | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/menu/transfer/index.jsx b/src/menu/transfer/index.jsx index f0a90d6..f4fa0e0 100644 --- a/src/menu/transfer/index.jsx +++ b/src/menu/transfer/index.jsx @@ -161,6 +161,7 @@ cell.wrap.advanceWidth = _config.components[0].wrap.advanceWidth || 1000 cell.wrap.searchLwidth = _config.components[0].wrap.searchLwidth || 33.3 cell.wrap.searchRatio = _config.components[0].wrap.searchRatio || 6 + cell.wrap.resetContrl = _config.components[0].wrap.resetContrl || 'init' cell.wrap.show = _config.components[0].wrap.show || 'true' if (cell.wrap.advanceType === 'drawer') { @@ -217,7 +218,8 @@ type: 'admin', OpenType: _config.OpenType, PageParam: {Template: 'CustomPage', OpenType: 'newtab', hidden: _config.hidden}, - MenuType: 'custom' + MenuType: 'custom', + lang: sessionStorage.getItem('lang') } let url = window.btoa(window.encodeURIComponent(JSON.stringify(urlparam))) @@ -238,14 +240,14 @@ debug_md5: key, debug_url: url, debug_list: window.btoa(tbs), - LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(_config))) + LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(_config))), + LText: '' } - param.LText = Utils.formatOptions(param.LText) param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') - param.secretkey = Utils.encrypt(param.LText, param.timestamp) + param.secretkey = Utils.encrypt('', param.timestamp) - Api.getSystemConfig(param).then(res => { + Api.getCloudConfig(param).then(res => { _resolve() if (!res.status) { Modal.warning({ -- Gitblit v1.8.0