fix(测试跟踪):测试计划-新增结束时间大于开始时间校验
--bug=1025706 --user=王旭 【测试跟踪】测试计划-结束时间小于开始时间可保存-未校验 https://www.tapd.cn/55049933/s/1365528
This commit is contained in:
parent
46dce5a079
commit
b1ed32f811
|
@ -282,8 +282,7 @@ export default {
|
||||||
let param = {};
|
let param = {};
|
||||||
Object.assign(param, this.form);
|
Object.assign(param, this.form);
|
||||||
param.name = param.name.trim();
|
param.name = param.name.trim();
|
||||||
if (param.name === '') {
|
if (!this.validate(param)) {
|
||||||
this.$warning(this.$t('test_track.plan.input_plan_name'));
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
param.workspaceId = getCurrentWorkspaceId();
|
param.workspaceId = getCurrentWorkspaceId();
|
||||||
|
|
Loading…
Reference in New Issue