Shan9312 6 月之前
父節點
當前提交
2b9056431d
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 0 0
      dist/index.html
  2. 6 6
      src/views/maintenance/maintain/index.vue

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


+ 6 - 6
src/views/maintenance/maintain/index.vue

@@ -1299,14 +1299,14 @@ export default {
       this.seeTemp.scenePhoto3 = '-1';
 
       if (fileList.length == 3) {
-        this.seeTemp.scenePhoto1 = (fileList[0].response && fileList[0].response.execresult.LastInsertId) || fileList[0].imgId
-        this.seeTemp.scenePhoto2 = (fileList[1].response && fileList[1].response.execresult.LastInsertId) || fileList[1].imgId
-        this.seeTemp.scenePhoto3 = (fileList[2].response && fileList[2].response.execresult.LastInsertId) || fileList[2].imgId
+        this.seeTemp.scenePhoto1 = (fileList[0].response && fileList[0].response.execresult.LastInsertId.toString()) || fileList[0].imgId
+        this.seeTemp.scenePhoto2 = (fileList[1].response && fileList[1].response.execresult.LastInsertId.toString()) || fileList[1].imgId
+        this.seeTemp.scenePhoto3 = (fileList[2].response && fileList[2].response.execresult.LastInsertId.toString()) || fileList[2].imgId
       } else if (fileList.length == 2) {
-        this.seeTemp.scenePhoto1 = (fileList[0].response && fileList[0].response.execresult.LastInsertId) || fileList[0].imgId
-        this.seeTemp.scenePhoto2 = (fileList[1].response && fileList[1].response.execresult.LastInsertId) || fileList[1].imgId
+        this.seeTemp.scenePhoto1 = (fileList[0].response && fileList[0].response.execresult.LastInsertId.toString()) || fileList[0].imgId
+        this.seeTemp.scenePhoto2 = (fileList[1].response && fileList[1].response.execresult.LastInsertId.toString()) || fileList[1].imgId
       } else if (fileList.length == 1) {
-        this.seeTemp.scenePhoto1 = (fileList[0].response && fileList[0].response.execresult.LastInsertId) || fileList[0].imgId
+        this.seeTemp.scenePhoto1 = (fileList[0].response && fileList[0].response.execresult.LastInsertId.toString()) || fileList[0].imgId
       } 
        //3张图片时,关闭新增的按钮
        if (fileList.length == 3) {

部分文件因文件數量過多而無法顯示