西海岸-智能算法:容错处理

This commit is contained in:
guoyue 2022-09-20 15:15:17 +08:00
parent 7f884528e9
commit 856cf3e41f
1 changed files with 3 additions and 1 deletions

View File

@ -639,7 +639,9 @@ export default defineComponent({
// 西- // 西-
if (whoShow1.value.itShowXiHaiAn) { if (whoShow1.value.itShowXiHaiAn) {
if (tag.dict_label == '智能算法' && checked) { if (tag.dict_label == '智能算法' && checked) {
ListContent.records.splice(2, 1, ListContentCopy.value[2]) if(ListContentCopy.value[2]) {
ListContent.records.splice(2, 1, ListContentCopy.value[2])
}
} else { } else {
if (name == '组件类型') { if (name == '组件类型') {
ListContent.records.splice(2, 1) ListContent.records.splice(2, 1)