修改代码生成字典字段int类型没有自动选中问题
This commit is contained in:
		
							parent
							
								
									a34edef603
								
							
						
					
					
						commit
						eec5c58b4a
					
				@ -146,7 +146,8 @@
 | 
			
		||||
              v-for="dict in ${field}Options"
 | 
			
		||||
              :key="dict.dictValue"
 | 
			
		||||
              :label="dict.dictLabel"
 | 
			
		||||
              :value="dict.dictValue"
 | 
			
		||||
              #if($column.javaType == "Integer"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end
 | 
			
		||||
 | 
			
		||||
            ></el-option>
 | 
			
		||||
          </el-select>
 | 
			
		||||
        </el-form-item>
 | 
			
		||||
@ -162,7 +163,8 @@
 | 
			
		||||
            <el-radio
 | 
			
		||||
              v-for="dict in ${field}Options"
 | 
			
		||||
              :key="dict.dictValue"
 | 
			
		||||
              :label="dict.dictValue"
 | 
			
		||||
              #if($column.javaType == "Integer"):label="parseInt(dict.dictValue)"#else:label="dict.dictValue"#end
 | 
			
		||||
 | 
			
		||||
            >{{dict.dictLabel}}</el-radio>
 | 
			
		||||
          </el-radio-group>
 | 
			
		||||
        </el-form-item>
 | 
			
		||||
 | 
			
		||||
@ -174,7 +174,8 @@
 | 
			
		||||
              v-for="dict in ${field}Options"
 | 
			
		||||
              :key="dict.dictValue"
 | 
			
		||||
              :label="dict.dictLabel"
 | 
			
		||||
              :value="dict.dictValue"
 | 
			
		||||
              #if($column.javaType == "Integer"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end
 | 
			
		||||
 | 
			
		||||
            ></el-option>
 | 
			
		||||
          </el-select>
 | 
			
		||||
        </el-form-item>
 | 
			
		||||
@ -190,7 +191,8 @@
 | 
			
		||||
            <el-radio
 | 
			
		||||
              v-for="dict in ${field}Options"
 | 
			
		||||
              :key="dict.dictValue"
 | 
			
		||||
              :label="dict.dictValue"
 | 
			
		||||
              #if($column.javaType == "Integer"):label="parseInt(dict.dictValue)"#else:label="dict.dictValue"#end
 | 
			
		||||
 | 
			
		||||
            >{{dict.dictLabel}}</el-radio>
 | 
			
		||||
          </el-radio-group>
 | 
			
		||||
        </el-form-item>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user