|
|
@@ -163,6 +163,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
getSpanArr(data) {
|
|
|
+ if (!data) return;
|
|
|
this.spanArr = []; // tip: 后台获取完成数据后,一定要重置spanArr=[],避免出现合并混乱!!!!!
|
|
|
for (let i = 0; i < data.length; i++) {
|
|
|
// 当为第一行时
|
|
|
@@ -211,6 +212,7 @@ export default {
|
|
|
},
|
|
|
openDialog(item) {
|
|
|
this.vanPopup = true;
|
|
|
+ console.log(item);
|
|
|
this.getSpanArr(item.taskPhotoRecognitionResult);
|
|
|
this.$nextTick(() => {
|
|
|
console.log(this.spanArr);
|