mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-11-04 10:57:10 +08:00 
			
		
		
		
	fix: 获取字典参数为空时的判断条件
This commit is contained in:
		@@ -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 {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user