v3.7.0 新增暗色菜单风格主题

This commit is contained in:
YunaiV
2022-02-17 09:48:39 +08:00
parent 63900da8c2
commit f564137f05
8 changed files with 97 additions and 105 deletions

View File

@ -100,18 +100,6 @@ export function addBeginAndEndTime(params, dateRange, propName) {
return params;
}
// 回显数据字典 原若依所保留,请使用 dict.js 中的新方法
export function selectDictLabel(datas, value) {
var actions = [];
Object.keys(datas).some((key) => {
if (datas[key].dictValue == ('' + value)) {
actions.push(datas[key].dictLabel);
return true;
}
})
return actions.join('');
}
// 通用下载方法
export function download(fileName) {
window.location.href = baseURL + "/common/download?fileName=" + encodeURI(fileName) + "&delete=" + true;