bug算法pk

This commit is contained in:
851673013@qq.com 2022-08-02 17:30:39 +08:00
parent 8630b7af86
commit 5a14127977
1 changed files with 13 additions and 7 deletions

View File

@ -230,10 +230,10 @@
text: '共享条件',
key: 'shareCondition',
},
{
text: '共享类型',
key: 'shareType',
},
// {
// text: '',
// key: 'shareType',
// },
{
text: '算法描述',
key: 'description',
@ -355,7 +355,6 @@
answer: '回答',
},
}
const showAddModal = ref(false)
const dataList = ref([])
const selectedRowKeys = ref([])
@ -428,7 +427,7 @@
_newObj.list = []
}
let list = []
titleInfoObj[titleKey].map((trName) => {
titleInfoObj[titleKey].map((trName, index) => {
let obj = {
name: trName.text,
}
@ -445,8 +444,15 @@
}
tableData.value.push(_newObj)
})
tableData.value[1].list[4].infoList.map((item, index) => {
if (!item && tableData.value[0].list[0].infoList[index]) {
tableData.value[1].list[3].infoList[index] = '否'
} else if (item && tableData.value[0].list[0].infoList[index]) {
tableData.value[1].list[3].infoList[index] = '是'
}
})
console.log('11111111111111', tableData.value)
console.log('11111111111111', tableData.value[1].list[4])
}
//