feat(修改ico,logo,菜单管理crud基本功能完成): 🐛 修复登录未使用MD5

This commit is contained in:
H0nGzA1
2023-02-05 14:03:54 +08:00
parent c12fe56808
commit 4046bd0d0c
15 changed files with 609 additions and 8380 deletions

View File

@@ -0,0 +1,11 @@
import { toRaw } from 'vue';
import { DictionaryStore } from '/@/stores/dictionary';
/**
* @method 获取指定name字典
*/
export const dictionary = (name: string) => {
const dict = DictionaryStore()
const dictionary = toRaw(dict.data)
return dictionary[name]
}