refactor(测试跟踪): 功能用例Text类型的字段改成LONGTEXT
--bug=1024584 --user=陈建星 【测试跟踪】功能用例新建/编辑-文本描述步骤超长保sql异常-提示不明确 https://www.tapd.cn/55049933/s/1352330
This commit is contained in:
parent
ec63bce72a
commit
64737c02ef
|
@ -0,0 +1,10 @@
|
||||||
|
SET SESSION innodb_lock_wait_timeout = 7200;
|
||||||
|
|
||||||
|
-- 文本字段改成 LONGTEXT
|
||||||
|
ALTER TABLE test_case MODIFY COLUMN prerequisite LONGTEXT NULL COMMENT 'Test case prerequisite condition';
|
||||||
|
ALTER TABLE test_case MODIFY COLUMN remark LONGTEXT NULL COMMENT 'Test case remark';
|
||||||
|
ALTER TABLE test_case MODIFY COLUMN steps LONGTEXT NULL COMMENT 'Test case steps (JSON format)';
|
||||||
|
ALTER TABLE test_case MODIFY COLUMN step_description LONGTEXT NULL;
|
||||||
|
ALTER TABLE test_case MODIFY COLUMN expected_result LONGTEXT NULL;
|
||||||
|
|
||||||
|
SET SESSION innodb_lock_wait_timeout = DEFAULT;
|
|
@ -55,7 +55,7 @@ export default {
|
||||||
}
|
}
|
||||||
let userObj = JSON.parse(token);
|
let userObj = JSON.parse(token);
|
||||||
let name = userObj.name;
|
let name = userObj.name;
|
||||||
return name.substring(0, 2).toUpperCase();
|
return name.substring(0, 1).toUpperCase();
|
||||||
},
|
},
|
||||||
toEdit() {
|
toEdit() {
|
||||||
this.state = "EDIT";
|
this.state = "EDIT";
|
||||||
|
|
|
@ -44,7 +44,6 @@
|
||||||
<script>
|
<script>
|
||||||
import CaseCommentEdit from "./CaseCommentEdit";
|
import CaseCommentEdit from "./CaseCommentEdit";
|
||||||
import { getCurrentUser } from "metersphere-frontend/src/utils/token";
|
import { getCurrentUser } from "metersphere-frontend/src/utils/token";
|
||||||
import { deleteMarkDownImgByName } from "@/business/utils/sdk-utils";
|
|
||||||
import CaseDiffStatus from "./diff/CaseDiffStatus";
|
import CaseDiffStatus from "./diff/CaseDiffStatus";
|
||||||
export default {
|
export default {
|
||||||
name: "CaseCommentViewItem",
|
name: "CaseCommentViewItem",
|
||||||
|
@ -81,7 +80,7 @@ export default {
|
||||||
},
|
},
|
||||||
getShortName(name) {
|
getShortName(name) {
|
||||||
name = name || "";
|
name = name || "";
|
||||||
return name.substring(0, 2).toUpperCase();
|
return name.substring(0, 1).toUpperCase();
|
||||||
},
|
},
|
||||||
openEdit() {
|
openEdit() {
|
||||||
if (this.isPublicShow) {
|
if (this.isPublicShow) {
|
||||||
|
|
Loading…
Reference in New Issue