Commit 347f204a authored by 罗林杰's avatar 罗林杰

修改bug

parent 50e543dd
...@@ -244,6 +244,7 @@ ...@@ -244,6 +244,7 @@
navHeight: '', navHeight: '',
showLikePop: false, showLikePop: false,
animUrl: '', animUrl: '',
likeUrl:'',
showAnima: false, showAnima: false,
showArrowDown: true, showArrowDown: true,
isInit: true, isInit: true,
...@@ -440,6 +441,7 @@ ...@@ -440,6 +441,7 @@
wxOpenid: uni.getStorageSync('userInfo').wxOpenid, wxOpenid: uni.getStorageSync('userInfo').wxOpenid,
isPay:'0' isPay:'0'
} }
this.likeUrl = url
likeUser(form).then(res => { likeUser(form).then(res => {
if (res.data.code == 200){ if (res.data.code == 200){
this.animUrl = url; this.animUrl = url;
...@@ -490,7 +492,7 @@ ...@@ -490,7 +492,7 @@
} }
likeUser(form).then(res=>{ likeUser(form).then(res=>{
if (res.data.code == 200) { if (res.data.code == 200) {
this.animUrl = url; this.animUrl = this.likeUrl;
this.showAnima = true; this.showAnima = true;
setTimeout(() => { setTimeout(() => {
this.showAnima = false; this.showAnima = false;
......
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