mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	回显数据字典键值修正
This commit is contained in:
		@@ -85,8 +85,8 @@ export function selectDictLabels(datas, value, separator) {
 | 
			
		||||
	var temp = value.split(currentSeparator);
 | 
			
		||||
	Object.keys(value.split(currentSeparator)).some((val) => {
 | 
			
		||||
		Object.keys(datas).some((key) => {
 | 
			
		||||
			if (datas[key].dictValue == ('' + temp[val])) {
 | 
			
		||||
				actions.push(datas[key].dictLabel + currentSeparator);
 | 
			
		||||
			if (datas[key].value == ('' + temp[val])) {
 | 
			
		||||
				actions.push(datas[key].label + currentSeparator);
 | 
			
		||||
			}
 | 
			
		||||
		})
 | 
			
		||||
	})
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user