fix(测试跟踪): 功能用例无法添加到用例库
--bug=1019006 --user=陈建星 【测试跟踪】启动公共用例库-批量添加到公共用例库-提示“未开启公共用例库配置” https://www.tapd.cn/55049933/s/1279628
This commit is contained in:
parent
3ebbeae35c
commit
fc2cc66f51
|
@ -450,7 +450,7 @@ export default {
|
||||||
.then(res => {
|
.then(res => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
let data = res.data;
|
let data = res.data;
|
||||||
if (data && data.casePublic) {
|
if (data && data.typeValue === 'true') {
|
||||||
this.isPublic = true;
|
this.isPublic = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -978,7 +978,7 @@ export default {
|
||||||
getProjectApplicationConfig('CASE_PUBLIC')
|
getProjectApplicationConfig('CASE_PUBLIC')
|
||||||
.then(res => {
|
.then(res => {
|
||||||
let data = res.data;
|
let data = res.data;
|
||||||
if (data && data.casePublic) {
|
if (data && data.typeValue === 'true') {
|
||||||
let param = {};
|
let param = {};
|
||||||
param.ids = this.$refs.table.selectIds;
|
param.ids = this.$refs.table.selectIds;
|
||||||
param.casePublic = true;
|
param.casePublic = true;
|
||||||
|
|
Loading…
Reference in New Issue