mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	修改代码生成字典字段int类型没有自动选中问题
This commit is contained in:
		@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user