fix(UI自动化): 屏蔽开源版测试计划UI列表

--bug=1018188 --user=张大海 【测试跟踪】开源版在测试计划详情里,点ui测试列表会报错 https://www.tapd.cn/55049933/s/1265650
This commit is contained in:
zhangdahai112 2022-10-18 11:37:29 +08:00 committed by zhangdahai112
parent 564a94be1e
commit bc681d6c58
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,7 @@
class="el-menu-demo header-menu" mode="horizontal" @select="handleSelect"> class="el-menu-demo header-menu" mode="horizontal" @select="handleSelect">
<el-menu-item index="functional">{{ $t('test_track.functional_test_case') }}</el-menu-item> <el-menu-item index="functional">{{ $t('test_track.functional_test_case') }}</el-menu-item>
<el-menu-item index="api" v-modules="['api']">{{ $t('test_track.api_test_case') }}</el-menu-item> <el-menu-item index="api" v-modules="['api']">{{ $t('test_track.api_test_case') }}</el-menu-item>
<el-menu-item index="ui" v-modules="['ui']">{{ $t('test_track.ui_test_case') }}</el-menu-item> <el-menu-item index="ui" v-modules="['ui']" v-if="hasLicense()">{{ $t('test_track.ui_test_case') }}</el-menu-item>
<el-menu-item index="load" v-modules="['performance']">{{ <el-menu-item index="load" v-modules="['performance']">{{
$t('test_track.performance_test_case') $t('test_track.performance_test_case')
}} }}
@ -258,6 +258,9 @@ export default {
}); });
} }
}, },
hasLicense(){
return hasLicense();
}
}, },
}; };
</script> </script>