|
|
@@ -60,6 +60,13 @@ Page({
|
|
|
* 生命周期函数--监听页面显示
|
|
|
*/
|
|
|
onShow: function () {
|
|
|
+ $api.getMyStyle().then(res => {
|
|
|
+ if (!res.data.data.init_fund) {
|
|
|
+ wx.navigateTo({
|
|
|
+ url: '../style/style',
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
wx.hideNavigationBarLoading()
|
|
|
if (!this.data.datas.groups){
|
|
|
$api.getDate().then(res => {
|