master
面包骑士 2024-08-30 11:30:09 +08:00
parent fcfa05f98a
commit 1f0323ac39
3 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,6 @@
<!-- 节点配置--> <!-- 节点配置-->
<div align="center"> <div align="center">
<el-drawer :visible.sync="disp.findFlag" direction="rtl" title="配置信息" append-to-body size="60%"> <el-drawer :visible.sync="disp.findFlag" direction="rtl" title="配置信息" append-to-body size="60%">
{{ node }}
<div style="padding-left: 20px;padding-right: 20px;"> <div style="padding-left: 20px;padding-right: 20px;">
<span v-if="node.type === 'table'"> <span v-if="node.type === 'table'">

View File

@ -48,9 +48,7 @@ export default {
}, },
data() { data() {
// " // "
return { return {}
}
}, },
// data", // data",
computed: {}, computed: {},

View File

@ -1,8 +1,11 @@
<template> <template>
<div> <div>
<h5>数据库:&nbsp;&nbsp;{{ disp.formData.db.dbName }}</h5> <span v-if="disp.formData.db.dbName && disp.formData.db.tableName">:
<br> {{ disp.formData.db.dbName }}.
<h5>数据表:&nbsp;&nbsp;{{ disp.formData.db.tableName }}</h5> {{ disp.formData.db.tableName }}
({{ disp.formData.db.tableComment }})
</span>
<span v-else></span>
<span> <span>
<el-table ref="table" :data="disp.formData.fields" height="300px"> <el-table ref="table" :data="disp.formData.fields" height="300px">
<el-table-column :show-overflow-tooltip="true" label="字段名称" prop="fieldName" /> <el-table-column :show-overflow-tooltip="true" label="字段名称" prop="fieldName" />