fix(测试跟踪): 功能用例无法添加到用例库

--bug=1019006 --user=陈建星 【测试跟踪】启动公共用例库-批量添加到公共用例库-提示“未开启公共用例库配置” https://www.tapd.cn/55049933/s/1279628
This commit is contained in:
chenjianxing 2022-10-27 11:27:17 +08:00 committed by jianxing
parent 3ebbeae35c
commit fc2cc66f51
2 changed files with 2 additions and 2 deletions

View File

@ -450,7 +450,7 @@ export default {
.then(res => {
this.loading = false;
let data = res.data;
if (data && data.casePublic) {
if (data && data.typeValue === 'true') {
this.isPublic = true;
}
});

View File

@ -978,7 +978,7 @@ export default {
getProjectApplicationConfig('CASE_PUBLIC')
.then(res => {
let data = res.data;
if (data && data.casePublic) {
if (data && data.typeValue === 'true') {
let param = {};
param.ids = this.$refs.table.selectIds;
param.casePublic = true;