commit
2022a535e9
@ -6,7 +6,7 @@ const useDictStore = defineStore('dict', {
|
|||||||
actions: {
|
actions: {
|
||||||
// 获取字典
|
// 获取字典
|
||||||
getDict(_name: string) {
|
getDict(_name: string) {
|
||||||
if (_name === null && _name === '') {
|
if (_name == null || _name === '') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user