Browse Source

fix: 必填

wanggaokun 1 year ago
parent
commit
7366c62f25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/tool/gen/components/columnInfo.vue

+ 1 - 1
src/views/tool/gen/components/columnInfo.vue

@@ -144,7 +144,7 @@ const columns = reactive<ColumnProps<any>[]>([
     render: scope => {
       return (
         <div>
-          <el-checkbox vModel_trim={scope.row.isRequired} />
+          <el-checkbox vModel_trim={scope.row.isRequired} true-value="1" false-value="0" />
         </div>
       )
     }