feat: 完成web to code及code to web功能

This commit is contained in:
橙子
2023-09-28 12:59:25 +08:00
parent f095fde5a7
commit fcb0ea9574
4 changed files with 66 additions and 9 deletions

View File

@@ -41,6 +41,7 @@
v-hasPermi="['system:config:add']"
>新增</el-button
>
<!-- :disabled="props.table.name==null" -->
</el-col>
<el-col :span="1.5">
<el-button
@@ -94,7 +95,11 @@
</template>
</el-table-column>
<el-table-column label="长度" align="center" prop="length" />
<el-table-column label="长度" align="center" prop="length" >
<template #default="scope">
{{ scope.row.length==0?'-':scope.row.length }}
</template>
</el-table-column>
<el-table-column label="是否必填" align="center" prop="isRequired" >
<template #default="scope">