Commit d2771de3 authored by 王晓铜's avatar 王晓铜

修改提测说明sql显示问题

parent 599cdf9c
......@@ -133,7 +133,7 @@
@click="addApolloListRow()">添加行</el-button>
</el-form-item>
<!-- 数据库变更 -->
<el-form-item label="数据库变更:">
<el-form-item label="数据库变更1111:">
<el-table :data="databaseList" border style="width:95%">
<el-table-column label="数据库名称" width="210">
<template slot-scope="scope">
......@@ -145,8 +145,9 @@
</el-table-column>
<el-table-column label="sql" clearable>
<template slot-scope="scope">
<el-input v-model.trim="scope.row.sql" type="textarea" autosize>
</el-input>
<!-- <el-input v-model.trim="scope.row.sql" type="textarea" :row="20">
</el-input> -->
<textarea v-model.trim="scope.row.sql" class='text-style' :rows="8"></textarea>
</template>
</el-table-column>
<el-table-column label="操作" width="80px">
......@@ -331,6 +332,7 @@ export default {
this.addTestDescriptionForm.database = JSON.stringify(
this.databaseList
)
console.log('eee', this.addTestDescriptionForm)
editTestDescription(this.addTestDescriptionForm).then((resp) => {
if (resp.data.businessCode === '0000') {
this.$message.success('编辑成功!')
......@@ -457,4 +459,8 @@ export default {
// left: 0;
box-sizing: border-box;
}
.text-style {
width:1100px;
color:-internal-light-dark(#EBEAEA, white);
}
</style>
......@@ -165,8 +165,9 @@
</el-table-column>
<el-table-column label="sql" clearable>
<template slot-scope="scope">
<el-input v-model.trim="scope.row.sql" type="textarea" autosize>
</el-input>
<!-- <el-input v-model.trim="scope.row.sql" type="textarea" autosize>
</el-input> -->
<textarea v-model.trim="scope.row.sql" class='text-style' :rows="8"></textarea>
</template>
</el-table-column>
<el-table-column label="操作" width="80px">
......@@ -527,4 +528,8 @@ export default {
.input-style {
width: 95%;
}
.text-style {
width:800px;
color:-internal-light-dark(#EBEAEA, white);
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment