Merge pull request #10182 from dataease/pr@dev-v2_st

fix(数据集): 在数据集编辑自定义SQL时,增加表结构comment备注提示 #10022
This commit is contained in:
dataeaseShu 2024-06-11 14:33:10 +08:00 committed by GitHub
commit e8d9707b3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -532,11 +532,11 @@ const mousedownDrag = () => {
<div class="table-filed" v-loading="gridDataLoading">
<div class="top flex-align-center">
<div class="title ellipsis">
{{ ele.name }}
{{ ele.name || ele.tableName }}
</div>
<el-icon
class="hover-icon de-hover-icon-primary"
@click.stop="copyInfo(ele.name)"
@click.stop="copyInfo(ele.name || ele.tableName)"
>
<Icon name="icon_copy_outlined"></Icon>
</el-icon>
@ -567,6 +567,11 @@ const mousedownDrag = () => {
</div>
</template>
</el-table-column>
<el-table-column :label="t('common.label')">
<template #default="scope">
{{ scope.row.description || '-' }}
</template>
</el-table-column>
<el-table-column :label="t('common.operate')">
<template #default="scope">
<el-icon