正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
@@ -838,6 +838,7 @@ Page({ | @@ -838,6 +838,7 @@ Page({ | ||
838 | var setData = {} | 838 | var setData = {} |
839 | var hasLoverData = this.data.hasLoverData | 839 | var hasLoverData = this.data.hasLoverData |
840 | hasLoverData.selected = data.has_spouse == 'y'?'是':'否' | 840 | hasLoverData.selected = data.has_spouse == 'y'?'是':'否' |
841 | + hasLoverData.disabled = data.has_spouse == 'y' ? true : false | ||
841 | setData.hasLover = data.has_spouse=='y'?true:false | 842 | setData.hasLover = data.has_spouse=='y'?true:false |
842 | setData.hasGetLover = data.has_spouse == 'y' ? true : false | 843 | setData.hasGetLover = data.has_spouse == 'y' ? true : false |
843 | setData.hasLoverData = hasLoverData | 844 | setData.hasLoverData = hasLoverData |
@@ -1815,6 +1816,7 @@ Page({ | @@ -1815,6 +1816,7 @@ Page({ | ||
1815 | // }) | 1816 | // }) |
1816 | var that = this; | 1817 | var that = this; |
1817 | var Authorization = app.globalData.Authorization; | 1818 | var Authorization = app.globalData.Authorization; |
1819 | + wx.showLoading() | ||
1818 | wx.request({ | 1820 | wx.request({ |
1819 | url: baseUrl + subUrl, | 1821 | url: baseUrl + subUrl, |
1820 | method: "POST", | 1822 | method: "POST", |
@@ -1834,6 +1836,9 @@ Page({ | @@ -1834,6 +1836,9 @@ Page({ | ||
1834 | icon: 'none' | 1836 | icon: 'none' |
1835 | }) | 1837 | }) |
1836 | } | 1838 | } |
1839 | + }, | ||
1840 | + complete(){ | ||
1841 | + wx.hideLoading() | ||
1837 | } | 1842 | } |
1838 | }) | 1843 | }) |
1839 | }, | 1844 | }, |
请
注册
或
登录
后发表评论