|
@@ -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) {
|