瀏覽代碼

图像识别

zhujindu 1 年之前
父節點
當前提交
c184020da1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/deviceWithin/addStoreVisit.vue

+ 2 - 1
src/views/deviceWithin/addStoreVisit.vue

@@ -3905,7 +3905,8 @@ export default {
           }
           if (photoIdentifyType == 1) {
             console.log('fileInfoList111=' + JSON.stringify(fileInfoList));
-            fileInfoList = [val];
+            fileInfoList.splice(0, 1, val);
+            // fileInfoList = [val];
             // this.$set(fileInfoList, 0, val);
             console.log('fileInfoList222=' + JSON.stringify(fileInfoList));
             this.$forceUpdate();