diff --git a/.env b/.env index 9d23a0d..13d2589 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # API -VITE_SYSTEM_URL = "http://u85e65a4.natappfree.cc" +VITE_SYSTEM_URL = "http://jb96776a.natappfree.cc" #文档地址 -VITE_DOC_URL = "http://k5cb6eb9.natappfree.cc" \ No newline at end of file +VITE_DOC_URL = "http://k7986286.natappfree.cc" \ No newline at end of file diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index daaf3e6..122c4eb 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -7,8 +7,8 @@ "type" : "uni-app:app-ios" }, { - "customPlaygroundType" : "device", - "playground" : "standard", + "customPlaygroundType" : "local", + "playground" : "custom", "type" : "uni-app:app-android" } ] diff --git a/App.vue b/App.vue index 57a3ed7..7e1c0dc 100644 --- a/App.vue +++ b/App.vue @@ -3,15 +3,18 @@ import { reLaunch } from './utils/router' import { useAuthUser } from './composables/useAuthUser' import { useUserStore } from './stores/user' - import { TUIChatKit } from './TUIKit' + + // #ifdef APP-PLUS + import { setSdkLanguageFromSystem } from '@/uni_modules/tuikit-atomic-x/utils/setSdkLanguageFromSystem' + // #endif + TUIChatKit.init() const { token } = useAuthUser() const { loginTencentIM } = useUserStore() /** 静默登录逻辑 */ const silentLogin = async () => { - console.log(token.value, '==') if (token.value) { loginTencentIM() reLaunch('/TUIKit/components/TUIConversation/index') @@ -25,6 +28,10 @@ onLaunch(() => { console.log('App Launch111') silentLogin() + + // #ifdef APP-PLUS + setSdkLanguageFromSystem() + // #endif }) onShow(() => { diff --git a/README.md b/README.md index 3b67e0f..558669c 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ unaipp多端im+会议+积分商城 ```https://ext.dcloud.net.cn/plugin?id=3935``` ```https://z-paging.zxlee.cn/start/use.html#%E5%BB%B6%E8%BF%9F%E5%8A%A0%E8%BD%BD%E5%88%97%E8%A1%A8%E7%A4%BA%E4%BE%8B``` + + ### TUILiveKit 文档地址 ```https://trtc.io/zh/document/60034?platform=ios&product=live``` diff --git a/TUIKit/components/TUIChat/message-input-toolbar/index.vue b/TUIKit/components/TUIChat/message-input-toolbar/index.vue index dd51d14..0379c99 100644 --- a/TUIKit/components/TUIChat/message-input-toolbar/index.vue +++ b/TUIKit/components/TUIChat/message-input-toolbar/index.vue @@ -67,11 +67,14 @@ + + +