Browse Source

no message

feature/feature-compatible
赖家华 7 years ago
parent
commit
eeb80d4de4
1 changed files with 9 additions and 6 deletions
  1. 15
      src/view/poster.vue

15
src/view/poster.vue

@ -86,7 +86,8 @@
if ( res.data.imageUrl ){
this.imgUrl = res.data.imageUrl
this.imgSrc = res.data.imageUrl + "?" + Date.now();
this.imgSrc = res.data.imageUrl + "?" + Date.now();
this.shareWenXin()
} else {
if ( res.data.hasOAuth == 0 ){
location.href = res.data.oauthUrl
@ -119,7 +120,8 @@
},500)
if ( res.code == 0 ){
this.imgUrl = res.response
this.imgSrc = res.response + "?" + Date.now();
this.imgSrc = res.response + "?" + Date.now();
this.shareWenXin()
} else {
this.$vux.toast.text(res.msg,"middle");
if ( res.code == 666 ){
@ -140,7 +142,8 @@
if ( res.data.imageUrl ){
this.imgUrl = res.data.imageUrl
this.imgSrc = res.data.imageUrl + "?" + Date.now();
this.imgSrc = res.data.imageUrl + "?" + Date.now();
this.shareWenXin()
} else {
if ( res.data.hasOAuth == 0 ){
location.href = res.data.oauthUrl
@ -173,7 +176,8 @@
},500)
if ( res.code == 0 ){
this.imgUrl = res.response
this.imgSrc = res.response + "?" + Date.now();
this.imgSrc = res.response + "?" + Date.now();
this.shareWenXin()
} else {
this.$vux.toast.text(res.msg,"middle");
if ( res.code == 666 ){
@ -245,8 +249,7 @@
this.createPoster2()
} else {
this.createPoster()
}
this.shareWenXin()
}
},
//
shareWenXin (){

Loading…
Cancel
Save