mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(性能测试): 测试名称较长时生成报告报SQL错
--bug=1017879 --user=李玉号 【性能测试】测试命长较长时生成报告报SQL错误 https://www.tapd.cn/55049933/s/1264683
This commit is contained in:
parent
4e1924760f
commit
3ec228e2a4
@ -8,7 +8,7 @@
|
||||
:before-close="close">
|
||||
<el-form>
|
||||
<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>
|
||||
|
||||
@ -28,6 +28,12 @@ export default {
|
||||
data: {}
|
||||
};
|
||||
},
|
||||
props: {
|
||||
maxLength: {
|
||||
type: Number,
|
||||
default: 60
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
open(data) {
|
||||
this.dialogVisible = true;
|
||||
|
@ -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;
|
@ -149,7 +149,7 @@
|
||||
</el-card>
|
||||
</ms-main-container>
|
||||
<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>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user