新增聊天系统
This commit is contained in:
@@ -15,9 +15,7 @@
|
||||
<iconfont name="icon-login-down-arrow" size="16rpx"></iconfont>
|
||||
</view>
|
||||
</view> -->
|
||||
<view style="height: 100upx;">
|
||||
|
||||
</view>
|
||||
<view style="height: 100upx"> </view>
|
||||
</view>
|
||||
|
||||
<!-- 绑定手机 -->
|
||||
@@ -415,6 +413,7 @@
|
||||
</template>
|
||||
<script>
|
||||
const app = getApp();
|
||||
import socket from '@/utils/socket';
|
||||
import base64 from '@/common/js/lib/base64.js';
|
||||
import componentCommon from '@/components/common/common';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
@@ -1369,6 +1368,7 @@
|
||||
app.globalData.showToast(msg, 'success');
|
||||
var event_callback = this.params.event_callback || null;
|
||||
setTimeout(function () {
|
||||
socket.connectSocket();
|
||||
var pages = getCurrentPages();
|
||||
if (pages.length > 1) {
|
||||
// 触发回调函数
|
||||
|
||||
Reference in New Issue
Block a user