Commit b580626ddd31621e3a216d41f0c9ccf3c6ce91ba
1 parent
08026d59
免登录
Showing
1 changed file
with
1 additions
and
1 deletions
packageD/pages/AI-test-skin/index/aiskin.js
@@ -25,8 +25,8 @@ Page({ | @@ -25,8 +25,8 @@ Page({ | ||
25 | * 生命周期函数--监听页面加载 | 25 | * 生命周期函数--监听页面加载 |
26 | */ | 26 | */ |
27 | onLoad: function (options) { | 27 | onLoad: function (options) { |
28 | - console.log(options); | ||
29 | getApp().globalData.user_id = options?.user_id; | 28 | getApp().globalData.user_id = options?.user_id; |
29 | + getApp().getUserFir(); | ||
30 | var user = getApp().globalData.userInfo; | 30 | var user = getApp().globalData.userInfo; |
31 | if (!user || !getApp().globalData.user_id) { | 31 | if (!user || !getApp().globalData.user_id) { |
32 | let url = "/pages/togoin/togoin"; | 32 | let url = "/pages/togoin/togoin"; |