提交 9f706e238f8e35919e6b02ae018e2fc8d01877c4

作者 pangy
1 个父辈 dfe8157f

优化

... ... @@ -838,6 +838,7 @@ Page({
838 838 var setData = {}
839 839 var hasLoverData = this.data.hasLoverData
840 840 hasLoverData.selected = data.has_spouse == 'y'?'是':'否'
  841 + hasLoverData.disabled = data.has_spouse == 'y' ? true : false
841 842 setData.hasLover = data.has_spouse=='y'?true:false
842 843 setData.hasGetLover = data.has_spouse == 'y' ? true : false
843 844 setData.hasLoverData = hasLoverData
... ... @@ -1815,6 +1816,7 @@ Page({
1815 1816 // })
1816 1817 var that = this;
1817 1818 var Authorization = app.globalData.Authorization;
  1819 + wx.showLoading()
1818 1820 wx.request({
1819 1821 url: baseUrl + subUrl,
1820 1822 method: "POST",
... ... @@ -1834,6 +1836,9 @@ Page({
1834 1836 icon: 'none'
1835 1837 })
1836 1838 }
  1839 + },
  1840 + complete(){
  1841 + wx.hideLoading()
1837 1842 }
1838 1843 })
1839 1844 },
... ...
注册登录 后发表评论