优化页面
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { TUILogin } from "@tencentcloud/tui-core";
|
||||
let vueVersion = 3;
|
||||
function TUIlogin(
|
||||
chatInfo,
|
||||
info,
|
||||
@@ -7,13 +6,14 @@ function TUIlogin(
|
||||
) {
|
||||
uni.$SDKAppID = chatInfo; // Your SDKAppID
|
||||
uni.$userID = String(info); // Your userID
|
||||
console.log("TUIlogin", chatInfo, info, userSig);
|
||||
uni.$userSig = userSig; // Your userSig
|
||||
TUILogin.login({
|
||||
SDKAppID: uni.$SDKAppID,
|
||||
userID: uni.$userID,
|
||||
userSig: uni.$userSig,
|
||||
useUploadPlugin: true, // If you need to send rich media messages, please set to true.
|
||||
framework: `vue${vueVersion}`, // framework used vue2 / vue3
|
||||
framework: `vue3`, // framework used vue2 / vue3
|
||||
}).catch(() => {});
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ export default {
|
||||
async pkList(){
|
||||
const res = await request({
|
||||
url: "pk/pkList",
|
||||
method: "GET",
|
||||
method: "POST",
|
||||
data: {
|
||||
status: 0,
|
||||
page: this.page,
|
||||
|
||||
Reference in New Issue
Block a user