Commit e5d64cb6 authored by godwithdh's avatar godwithdh
parents 0a9de7bf be797cb3
......@@ -108,7 +108,7 @@ export default {
Previewer
},
async mounted(){
this.iProjectId = this.$route.params.iProjectId;
this.iProjectId = this.$route.query.iProjectId;
this.$route.params.uGuid.split('.').map((x,y) => {
this.uGuid += String.fromCharCode(x)
})
......@@ -134,7 +134,7 @@ export default {
this.dtl_src.push({
sColorName:v.sColorName,
sColorNo:v.sColorNo,
src:`${this.$url('default')}/goods/image_click/?uGuid=${v.uPictureGuid}&iType=2&random=${Math.random()}`
src:`${this.$url('default')}/goods/image_click/?uGuid=${v.uPictureGuid}&iType=2&iProjectId=${this.$route.query.iProjectId}&random=${Math.random()}`
})
})
})
......
......@@ -221,7 +221,7 @@ export default {
let doc = new DOMParser().parseFromString(xhr.response);
if(xhr.status == 200){
let data = doc.getElementsByTagName('SavePicResult')[0].firstChild.nodeValue;
if(data == 'Success'){
// if(data == 'Success'){
this.$vux.loading.hide();
this.$vux.confirm.show({
title:"提示",
......@@ -229,7 +229,7 @@ export default {
showCancelButton:false,
})
this.fileList = [{src:base64}]
}
// }
}else if(xhr.status == 500){
this.$vux.confirm.show({
title:"提示",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment