QAQ
This commit is contained in:
@@ -101,7 +101,6 @@ export const useUserStore = defineStore('user', () => {
|
|||||||
useUploadPlugin: true // 使用文件上传插件
|
useUploadPlugin: true // 使用文件上传插件
|
||||||
})
|
})
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
console.log('11111======')
|
|
||||||
await useLoginState().login({
|
await useLoginState().login({
|
||||||
SDKAppID: tencentUserSig.value.sdkappID,
|
SDKAppID: tencentUserSig.value.sdkappID,
|
||||||
userID: tencentUserSig.value.userId,
|
userID: tencentUserSig.value.userId,
|
||||||
@@ -110,18 +109,11 @@ export const useUserStore = defineStore('user', () => {
|
|||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
console.log('222222222======')
|
await useLoginState().login({
|
||||||
try {
|
sdkappID: tencentUserSig.value.sdkappID,
|
||||||
await useLoginState().login({
|
userID: tencentUserSig.value.userId,
|
||||||
SDKAppID: tencentUserSig.value.sdkappID,
|
userSig: tencentUserSig.value.userSig
|
||||||
userID: tencentUserSig.value.userId,
|
})
|
||||||
userSig: tencentUserSig.value.userSig
|
|
||||||
})
|
|
||||||
console.log('===========1111')
|
|
||||||
} catch (err) {
|
|
||||||
console.log(err, '===========1111')
|
|
||||||
}
|
|
||||||
|
|
||||||
uni.$TUICallKit = uni.requireNativePlugin('TencentCloud-TUICallKit')
|
uni.$TUICallKit = uni.requireNativePlugin('TencentCloud-TUICallKit')
|
||||||
|
|
||||||
console.log(uni.$TUICallKit, "TUICallKit | ok"); // 本地日志
|
console.log(uni.$TUICallKit, "TUICallKit | ok"); // 本地日志
|
||||||
|
|||||||
Reference in New Issue
Block a user