Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -4,7 +4,7 @@ import { DictionaryStore } from '/@/stores/dictionary';
|
|||||||
/**
|
/**
|
||||||
* @method 获取指定name字典
|
* @method 获取指定name字典
|
||||||
*/
|
*/
|
||||||
export const dictionary = (name: string,key:string|number|undefined) => {
|
export const dictionary = (name: string,key?:string|number|undefined) => {
|
||||||
const dict = DictionaryStore()
|
const dict = DictionaryStore()
|
||||||
const dictionary = toRaw(dict.data)
|
const dictionary = toRaw(dict.data)
|
||||||
if(key!=undefined){
|
if(key!=undefined){
|
||||||
|
|||||||
Reference in New Issue
Block a user