10.17下班提交
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<up-image :src="logo" width="164rpx" height="167rpx" ></up-image>
|
||||
|
||||
</view>
|
||||
<text class="app-name">专家端</text>
|
||||
<text class="app-name">专家版</text>
|
||||
</view>
|
||||
|
||||
<!-- 手机号输入 -->
|
||||
@@ -254,6 +254,8 @@
|
||||
title: '登录成功',
|
||||
icon: 'none'
|
||||
});
|
||||
const app = getApp()
|
||||
app.initNim({appkey: "885dea390870814acf3ba8558c717572", account:result.YX_accid, token: result.YX_token })
|
||||
console.log(3)
|
||||
uni.redirectTo({
|
||||
url:'/pages/index/index'
|
||||
@@ -327,9 +329,10 @@
|
||||
uni.setStorageSync('DEV_AUTH_YX_TOKEN_App', res.data.YX_token);
|
||||
uni.setStorageSync('userInfo', res.data);
|
||||
}
|
||||
|
||||
const app = getApp()
|
||||
app.initNim({ account:result.data.YX_accid, token: result.data.YX_token })
|
||||
// 跳转到首页
|
||||
navTo({
|
||||
uni.redirectTo({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
}).catch(err=>{
|
||||
|
||||
Reference in New Issue
Block a user