fix(测试跟踪): 英文状态下编辑模块失败
--bug=1009067 --user=lyh 【测试跟踪】英文状态下编辑已有模块失败 https://www.tapd.cn/55049933/s/1092771
This commit is contained in:
parent
2a57ffbbc7
commit
f9c507577a
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue