mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-11-04 08:06:12 +08:00 
			
		
		
		
	feat: dict add all options
This commit is contained in:
		@ -80,6 +80,8 @@ const filterSearchSchema = (crudSchema: CrudSchema[]): FormSchema[] => {
 | 
				
			|||||||
      const options: ComponentOptions[] = []
 | 
					      const options: ComponentOptions[] = []
 | 
				
			||||||
      let comonentProps = {}
 | 
					      let comonentProps = {}
 | 
				
			||||||
      if (schemaItem.dictType) {
 | 
					      if (schemaItem.dictType) {
 | 
				
			||||||
 | 
					        const allOptions: ComponentOptions = { label: '全部', value: '' }
 | 
				
			||||||
 | 
					        options.push(allOptions)
 | 
				
			||||||
        getIntDictOptions(schemaItem.dictType).forEach((dict) => {
 | 
					        getIntDictOptions(schemaItem.dictType).forEach((dict) => {
 | 
				
			||||||
          options.push(dict)
 | 
					          options.push(dict)
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user