增加DDL建表语句展示,优化数据预览,优化卡顿问题

This commit is contained in:
暮光:城中城
2020-05-08 22:32:54 +08:00
parent 0cf04e8466
commit 713582bebf
13 changed files with 125 additions and 81 deletions

View File

@@ -34,7 +34,7 @@
</el-table-column>
<el-table-column v-for="item in resultItem.dataCols" :prop="item.prop" :label="item.prop" :width="item.width">
<template slot-scope="scope">
<el-input type="textarea" :rows="1" :value="scope.row[item.prop]" :readonly="true" resize="none"></el-input>
<textarea readonly :value="scope.row[item.prop]" class="el-textarea__inner" rows="1"></textarea>
</template>
</el-table-column>
</el-table>
@@ -403,9 +403,11 @@
padding: 0 5px;
}
.data-executor-vue .execute-result-table .el-textarea__inner{
height: 25px;
height: 27px;
min-height: 27px;
line-height: 25px;
padding: 0 5px;
resize: none;
}
.data-executor-vue .execute-use-time{
font-size: 12px;margin-right: 10px;