提交 01321c3c 编写于 作者: 雨爱无痕

Fix issue

上级 50c16f53
......@@ -58,7 +58,7 @@ export const testToolMap = {
cppunit: 'CppUnit',
gtest: 'GTest',
qtest: 'QTest',
goTest: 'GoTest',
gotest: 'GoTest',
allure: 'Allure',
robotframework: 'RobotFramework',
......
......@@ -246,7 +246,7 @@ export function scriptTreeAddAttr(treeData) {
{ hint: 'create_file', icon: 'file-add', key: 'createFile'},
];
if(item.workspaceType != 'ztf'){
item.toolbarItems.push({hint: testToolMap[item.workspaceType], icon: 'play', hintI18n: 'test', key: 'runTest'})
item.toolbarItems.push({hint: testToolMap[item.workspaceType] == undefined ? "" : testToolMap[item.workspaceType], icon: 'play', hintI18n: 'test', key: 'runTest'})
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册