fix(测试跟踪): 脑图按层级展开后保存,会创建root节点
--bug=1022243 --user=陈建星 【测试跟踪】脑图模式-展开到用例层级-快捷键复制模块A到模块B下-保存失败 https://www.tapd.cn/55049933/s/1344360
This commit is contained in:
parent
339d44d2f2
commit
58613fdb5f
|
@ -361,7 +361,7 @@ export default {
|
|||
|
||||
if (data.type !== 'tmp' && data.changed) {
|
||||
if (isModuleNodeData(data)) {
|
||||
if (data.contextChanged) {
|
||||
if (data.contextChanged && data.id !== 'root') {
|
||||
this.buildSaveModules(root, data, parent);
|
||||
root.children && root.children.forEach(i => {
|
||||
if (isModuleNode(i)) {
|
||||
|
|
|
@ -19,7 +19,6 @@ const message = {
|
|||
case_type: "Case Type",
|
||||
test_plan: "Test Plan",
|
||||
failure_times: "Failure times",
|
||||
minder_paste_tip: "The pasted node has modules with unloaded use cases, copying unloaded use cases is not currently supported!"
|
||||
},
|
||||
rate: {
|
||||
case_review: "Review rate",
|
||||
|
@ -151,6 +150,7 @@ const message = {
|
|||
cancel_relate_case_tips_content: "Cancel it will affect the test plan statistics. Sure?",
|
||||
back_tips: "TestCase is not saved, Are you sure to quit?",
|
||||
dependency_remove_confirm: "Is dependency release confirmed?",
|
||||
minder_paste_tip: "The pasted node has modules with unloaded use cases, copying unloaded use cases is not currently supported!",
|
||||
public: {
|
||||
remove: 'Whether to remove the use case ',
|
||||
batch_remove_confirm: "Confirm remove {0} item use case?",
|
||||
|
|
|
@ -19,7 +19,6 @@ const message = {
|
|||
case_type: "用例类型",
|
||||
test_plan: "所属测试计划",
|
||||
failure_times: "失败次数",
|
||||
minder_paste_tip: "粘贴的节点中有未加载用例的模块,目前不支持复制未加载的用例!"
|
||||
},
|
||||
rate: {
|
||||
case_review: "评审率",
|
||||
|
@ -151,6 +150,7 @@ const message = {
|
|||
cancel_relate_case_tips_content: "取消关联会影响测试计划相关统计, 确定取消吗?",
|
||||
back_tips: "你填写的信息未保存, 确定退出吗?",
|
||||
dependency_remove_confirm: "确定解除依赖吗?",
|
||||
minder_paste_tip: "粘贴的节点中有未加载用例的模块,目前不支持复制未加载的用例!",
|
||||
public: {
|
||||
remove: '是否移除用例',
|
||||
batch_remove_confirm: "确定移除{0}项用例?",
|
||||
|
|
|
@ -19,7 +19,6 @@ const message = {
|
|||
case_type: "用例類型",
|
||||
test_plan: "所屬測試計劃",
|
||||
failure_times: "失敗次數",
|
||||
minder_paste_tip: "粘貼的節點中有未加載用例的模塊,目前不支持復製未加載的用例!"
|
||||
},
|
||||
rate: {
|
||||
case_review: "評審率",
|
||||
|
@ -151,6 +150,7 @@ const message = {
|
|||
cancel_relate_case_tips_content: "取消關聯會影響測試計劃相關統計, 確定取消嗎?",
|
||||
back_tips: "你填寫的信息未保存, 確定退出嗎?",
|
||||
dependency_remove_confirm: "確定解除依賴嗎?",
|
||||
minder_paste_tip: "粘貼的節點中有未加載用例的模塊,目前不支持復製未加載的用例!",
|
||||
public: {
|
||||
remove: '是否移除用例',
|
||||
batch_remove_confirm: "確定移除{0}項用例?",
|
||||
|
|
Loading…
Reference in New Issue