Commit 7fde6600 by chenwq

loading

1 parent 34519f74
...@@ -57,7 +57,9 @@ Component({ ...@@ -57,7 +57,9 @@ Component({
lifetimes: { lifetimes: {
attached() { attached() {
wx.showLoading()
setTimeout(() => { setTimeout(() => {
wx.hideLoading()
this.getImgHeight() this.getImgHeight()
}, 400) }, 400)
}, },
...@@ -108,6 +110,7 @@ Component({ ...@@ -108,6 +110,7 @@ Component({
_this.setData({ _this.setData({
imgTopArr imgTopArr
}) })
console.log(imgTopArr, 'imgTopArr---')
}) })
.exec() .exec()
// setTimeout(() => { // setTimeout(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!