Commit d90308c6 authored by shiziyuan9527's avatar shiziyuan9527 Committed by shiziyuan9527
Browse files

fix(测试跟踪): 英文状态下编辑模块失败

--bug=1009067 --user=lyh 【测试跟踪】英文状态下编辑已有模块失败
https://www.tapd.cn/55049933/s/1092771
Showing with 2 additions and 1 deletion
+2 -1
......@@ -211,7 +211,8 @@ name: "TestCaseMinder",
}
if (data.type !== 'tmp' && data.changed) {
if (data.contextChanged && data.resource && data.resource.indexOf(this.$t('test_track.module.module')) > -1) {
if (data.contextChanged && data.resource &&
(data.resource.indexOf(this.$t('test_track.module.module')) > -1 || data.resource.indexOf("模块") > -1)) {
this.buildSaveModules(root, data, parent);
root.children && root.children.forEach(i => {
if (isModuleNode(i)) {
......
Supports Markdown
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