mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-12 13:43:49 +08:00
v3.25.0【优化】密码加密随机盐;【优化】java依赖版本;【优化】后端依赖库;【优化】单号生成器;【优化】防重复提交;【优化】sa-base.yaml健康检查邮箱;【新增】前端夜间模式;【优化】标签页issue;【优化】字典int回显bug
This commit is contained in:
@@ -39,7 +39,7 @@ export const useDictStore = defineStore({
|
||||
|
||||
// 是数字的话,需要特殊处理
|
||||
if (_.isNumber(dataValue)) {
|
||||
let target = _.find(dict, { dataValue: dataValue });
|
||||
let target = _.find(dict, { dataValue: String(dataValue) });
|
||||
return target ? target.dataLabel : '';
|
||||
}
|
||||
|
||||
|
||||
@@ -204,6 +204,7 @@ export const useUserStore = defineStore({
|
||||
// @ts-ignore
|
||||
findTag.fromMenuName = from.name;
|
||||
findTag.fromMenuQuery = from.query;
|
||||
findTag.menuQuery = route.query;
|
||||
} else {
|
||||
// @ts-ignore
|
||||
this.tagNav.push({
|
||||
@@ -212,7 +213,7 @@ export const useUserStore = defineStore({
|
||||
// @ts-ignore
|
||||
menuTitle: route.meta.title,
|
||||
menuQuery: route.query,
|
||||
menuIcon:route.meta?.icon,
|
||||
menuIcon:route.meta.icon,
|
||||
// @ts-ignore
|
||||
fromMenuName: from.name,
|
||||
fromMenuQuery: from.query,
|
||||
|
||||
Reference in New Issue
Block a user