fix(性能测试): 测试命长较长时生成报告报SQL错误
--bug=1017879 --user=李玉号 【性能测试】测试命长较长时生成报告报SQL错误 https://www.tapd.cn/55049933/s/1264683
This commit is contained in:
parent
d65dc5a398
commit
d2d5611da9
|
@ -0,0 +1,5 @@
|
||||||
|
ALTER TABLE load_test_report
|
||||||
|
MODIFY name VARCHAR(255) NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE load_test_report
|
||||||
|
MODIFY test_name VARCHAR(255) NULL;
|
|
@ -8,7 +8,7 @@
|
||||||
:before-close="close">
|
:before-close="close">
|
||||||
<el-form>
|
<el-form>
|
||||||
<el-form-item :label="$t('commons.name')">
|
<el-form-item :label="$t('commons.name')">
|
||||||
<el-input v-model="data.name" maxlength="60" show-word-limit></el-input>
|
<el-input v-model="data.name" :maxlength="maxLength" show-word-limit></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
|
@ -28,6 +28,12 @@ export default {
|
||||||
data: {}
|
data: {}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
props: {
|
||||||
|
maxLength: {
|
||||||
|
type: Number,
|
||||||
|
default: 60
|
||||||
|
},
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
open(data) {
|
open(data) {
|
||||||
this.dialogVisible = true;
|
this.dialogVisible = true;
|
||||||
|
|
|
@ -149,7 +149,7 @@
|
||||||
</el-card>
|
</el-card>
|
||||||
</ms-main-container>
|
</ms-main-container>
|
||||||
<same-test-reports ref="compareReports"/>
|
<same-test-reports ref="compareReports"/>
|
||||||
<ms-rename-report-dialog ref="renameDialog" @submit="rename"></ms-rename-report-dialog>
|
<ms-rename-report-dialog ref="renameDialog" @submit="rename" :max-length="255"></ms-rename-report-dialog>
|
||||||
|
|
||||||
</ms-container>
|
</ms-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue