Explorar o código

fix: 修复在代码生成进行编辑时,对字段信息中的字典类型已经设置后又置空后,提交无法更新的问题。

bozch hai 1 ano
pai
achega
13d26703e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/infra/codegen/components/ColumInfoForm.vue

+ 1 - 1
src/views/infra/codegen/components/ColumInfoForm.vue

@@ -95,7 +95,7 @@
     </el-table-column>
     <el-table-column label="字典类型" min-width="12%">
       <template #default="scope">
-        <el-select v-model="scope.row.dictType" clearable filterable placeholder="请选择">
+        <el-select v-model="scope.row.dictType" :value-on-clear="''" clearable filterable placeholder="请选择">
           <template #header>
             <div class="flex justify-end">
               <el-popover