Merge remote-tracking branch 'origin/master'

This commit is contained in:
李强
2024-10-28 21:17:12 +08:00

View File

@@ -4,7 +4,7 @@ import { DictionaryStore } from '/@/stores/dictionary';
/**
* @method 获取指定name字典
*/
export const dictionary = (name: string,key:string|number|undefined) => {
export const dictionary = (name: string,key?:string|number|undefined) => {
const dict = DictionaryStore()
const dictionary = toRaw(dict.data)
if(key!=undefined){