优化编辑模板

This commit is contained in:
轻风2016 2024-08-28 17:15:54 +08:00
parent 177e001683
commit 5988869763

View File

@ -100,6 +100,9 @@
@:<el-form-item label="@column.ColumnComment" prop="@(@column.LowerPropertyName)"> @:<el-form-item label="@column.ColumnComment" prop="@(@column.LowerPropertyName)">
@:<el-switch v-model="state.ruleForm.@(@column.LowerPropertyName)" @:<el-switch v-model="state.ruleForm.@(@column.LowerPropertyName)"
@if(@column.NetType.StartsWith("int")){ @if(@column.NetType.StartsWith("int")){
@::active-value="1" :inactive-value="0"
}
@if(@column.NetType.StartsWith("string")){
@:active-value="1" inactive-value="0" @:active-value="1" inactive-value="0"
} }
@:active-text="是" inactive-text="否" /> @:active-text="是" inactive-text="否" />